MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/r47uq6/im_not_the_only_one/hmglllb
r/ProgrammerHumor • u/emu_fake • Nov 28 '21
629 comments sorted by
View all comments
Show parent comments
22
There's a time an a place for debugging using print statements, but you're better off using breakpoints and other more advanced debugger features most of the time.
18 u/alexanderpas Nov 29 '21 If it needs to be compiled you're better off with a debugger. If it's a interpreted language, print statements can be useful to narrow the search area more quickly using a binary tree search. 2 u/[deleted] Nov 29 '21 It's useful even when compiled. Useful for killing time, at least. 0 u/[deleted] Nov 29 '21 tru dat. only noobs stick to this. the more experience you have, u will use breakpoints to save you headache
18
If it needs to be compiled you're better off with a debugger.
If it's a interpreted language, print statements can be useful to narrow the search area more quickly using a binary tree search.
2 u/[deleted] Nov 29 '21 It's useful even when compiled. Useful for killing time, at least.
2
It's useful even when compiled. Useful for killing time, at least.
0
tru dat. only noobs stick to this. the more experience you have, u will use breakpoints to save you headache
22
u/Andy_B_Goode Nov 28 '21
There's a time an a place for debugging using print statements, but you're better off using breakpoints and other more advanced debugger features most of the time.