3 ms·
Print debugging us for when you have a quick itteration cycle. I don't know what debuggers are for because if you don't have a quick itteration cycle you should
by from-nibly 2y ago
Print debugging us for when you have a quick itteration cycle. I don't know what debuggers are for because if you don't have a quick itteration cycle you should be killing yourself to have a quick iteration cycle.
- Too 2y agoOn the contrary, adding print statements increases iteration time, because you need to edit the file, recompile and relaunch the program. Whereas adding a breakpoint is just one click in the margin of the editor.
- from-nibly 2y agoAnd then what? Don't you need to edit the program, recompile, and relaunch the program? My point is if edit, compile, relaunch isn't fast you need to figure out how to make it fast because that's what you are doing all day anyway. Working around that only for debugging is a waste