Re:Java vs. Scala: Divided We Fail
by frowaway001 on Saturday July 05, 2014 @09:54AM
(#7991844)
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.
[ Parent
| on HN ]
Re:Java vs. Scala: Divided We Fail
by nostrademons on Saturday July 05, 2014 @05:33PM
(#7993037)
You 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.
I 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.
Re:Java vs. Scala: Divided We Fail
by frowaway001 on Saturday July 05, 2014 @05:51PM
(#7993075)
Let's just say that I'm happily using a language where I don't really have to search for bugs in the first place ...