Re:Are you one of the 10% of programmers who can write a bin...
by stingraycharles on Monday April 19, 2010 @03:53PM
(#1277659)
Because it forces one to think things through instead of using trial and error.
[ Parent
| on HN ]
Re:Are you one of the 10% of programmers who can write a bin...
by derwiki on Monday April 19, 2010 @04:04PM
(#1277685)
Isn't one of the advantages to programming over other disciplines that we can create unit tests that define "success" and iterate quickly until we get there?
Re:Are you one of the 10% of programmers who can write a bin...
by DLarsen on Monday April 19, 2010 @04:14PM
(#1277719)
Unit tests are code too. What ensures the correctness of the tests themselves?
My point is simply that you can't simply defer to testing as a cop out to avoid claiming confidence in the correctness of some portion of code. There has to be some amount of code that a dev can pretty well validate simply by inspection. (I'm not saying don't test.)
Re:Are you one of the 10% of programmers who can write a bin...
by abstractbill on Monday April 19, 2010 @04:29PM
(#1277760)
You say that as if it's a given you can only do one or the other.
FWIW, I'm a pure mathematician by training - not exactly a shortage of experience in thinking things through. But I would have very low confidence in any code I had just written down, instead of building it iteratively, using a REPL.