logoalt Hacker News

oweileryesterday at 7:21 AM2 repliesview on HN

Or use tests and/or a debugger. Which gives you all the listed benefits w/o an additional dependency.


Replies

ollysbyesterday at 5:11 PM

Different tools for different cases. Debuggers are great for a snapshot in time but print statements are better for seeing the execution flow.

show 1 reply
pjmlpyesterday at 8:04 AM

Yeah, the amount of wasted hours with 1960's teletype debugging.

Ah but servers and embedded, that is why telemetry, execution traces, and debugger controlled action points exist.