Debuggers are a wasteful Timesink?

Robert C. Martin thinks that Debuggers are a wasteful Timesink.
Well, Robert is a smart guy. But he’s plain wrong on this one.
What’s the cause for a bug in the first place? The programmer’s expectation of what the code is supposed to do doesn’t match what the code is actually doing. In this context, thinking about what might have gone wrong more often than not results in meditating in front of the computer instead of letting the running code tell you what went wrong.
Don’t use the debugger instead of your brain, use it to complement your brain. Let’s settle for this, more modest statement.
Charles Miller has are some more thoughts on the topic.

Comments are closed.