5 ms·
When you are looking for bugs, you still have to read all the code. Whether it was auto-generated or folded by the IDE doesn't give any benefit here.
by frowaway001 12y ago
When you are looking for bugs, you still have to read all the code. Whether it was auto-generated or folded by the IDE doesn't give any benefit here.
- nostrademons 12y agoYou don't, really. Bugfixing by whole-program code inspection is incredibly inefficient and quickly because impractical with large codebases. I've found its far better to hunt down bugs using a combination of debuggers, stacktraces, divide-and-conquer, log statements, assertions, and unit tests. I've gotten bugfix rates as high as 5 bugs/day in a fairly complex library (an HTML5 parser in C) using these techniques.
- frowaway001 12y agoLet's just say that I'm happily using a language where I don't really have to search for bugs in the first place ...
- yohanatan 12y agoI think you're missing the fact that you can use all of those same techniques in languages without all the noise. You can also use a plain old editor with such languages (which can be handy if debugging/writing code on a headless server). And, some languages make writing most of that sort of bug nigh impossible to begin with.