IceCream – Never use print() to debug again
21–24 of 24 posts
Re: IceCream – Never use print() to debug again
#22Or use tests and/or a debugger. Which gives you all the listed benefits w/o an additional dependency.
Different tools for different cases. Debuggers are great for a snapshot in time but print statements are better for seeing the execution flow.
Re: IceCream – Never use print() to debug again
#23Earlier quoted context omitted.
Different tools for different cases. Debuggers are great for a snapshot in time but print statements are better for seeing the execution flow.
As a profession we need to phase out point in time debuggers and replace them with reverse debuggers or "time travel" debuggers
Re: IceCream – Never use print() to debug again
#24>Do you ever use print() or log() to debug your code? I haven't written my own code in months at this point...kind of depressing to think about
It began as a better `console.log()` for humans, but I ended up making it better for AI coding agents.
I got tired of copying dev console output, so coding agents can now just insert the exact calls they need and query the output without human intervention.