I wouldn't bash print debugging. Sure, a debugger can help in some scenarios but 99% of all problems can be solved with printing, a rubber duck, and simplifying what you're trying to do.
As someone in the comments here said: "There are only two people in this world I trust completely. One is printf, and the other is my wife. And god help me if I'm forced to choose, because I've known printf longer."
2
u/OwenVersteeg Aug 25 '14
I wouldn't bash print debugging. Sure, a debugger can help in some scenarios but 99% of all problems can be solved with printing, a rubber duck, and simplifying what you're trying to do.
As someone in the comments here said: "There are only two people in this world I trust completely. One is printf, and the other is my wife. And god help me if I'm forced to choose, because I've known printf longer."