3 ms·
I've heard this argument a lot, but I've never really bought it. It implies most bugs can be avoided by being super careful. Most bugs aren't a result of carele
by overgard 11y ago
I've heard this argument a lot, but I've never really bought it. It implies most bugs can be avoided by being super careful. Most bugs aren't a result of carelessness, and if you spend 20 hours staring at each line of code you write, I guarantee you'll still write software with bugs. The only thing the debugger changes is how fast you find it.
And I say this working in an area where debuggers either kind of suck or are limited (graphics programming), so I have plenty of experience working on complex systems with no debugger. Believe me, I do this exact painstaking thinking when I write a shader (no break points or even print statements), and yet the shader code I write is about the same quality as any other code I write, it just takes longer.
- Retric 11y agoAt one point I worked on a large, complex, and legacy code base averaging less than 1 bug per year without a debugger. Granted, now days you can take the debugger from my cold dead hands, but I also don't really understand the code nearly as well.