News for hackers. Stuff that matters.
Re:Ask YC: Code Digesting by michael_dorfman on Thursday May 22, 2008 @04:35AM (#197005)
I disagree, for the most part. I think that in most large development shops, more time is spent reading code than writing code (think of the number of minutes each day spent actually typing versus those spent looking at the monitor) and that being able to clearly comprehend what has been written is extremely important. .

It is clear that well written, well documented code is easier to read than poorly written, poorly documented code. But, for the purposes of Bill's argument, we can assume the code in question is of average quality.

We know enough of Bill's 1986 context to assume that the code he is referring to would be C++ or Assembler. (Included in the book are some pages of the 8080 code for BASIC, written by Bill.) Naturally, the number of pages would vary for different languages, but the argument can be adjusted accordingly.

Finally: building code that satisfies requirements and works perfectly is a noble goal. The question is: is there any test than can be given quickly that acts as decent predictor for this ability? I think Bill's test is not too bad in this regard.

Re:Ask YC: Code Digesting by edw519 on Thursday May 22, 2008 @09:01AM (#197089)
"building code that satisfies requirements and works perfectly is a noble goal"

At Microsoft, it may be a noble goal.

With my customers, it is a requirement.

Re:Ask YC: Code Digesting by michael_dorfman on Thursday May 22, 2008 @10:15AM (#197131)
Your customers require perfection? You've got tough customers, then. I assume they refuse to pay maintenance/support fees on principle...
Re:Ask YC: Code Digesting by edw519 on Thursday May 22, 2008 @11:01AM (#197166)
I don't think they're tough. They just treat IT like anything else they spend their money on.

To them, maintenance/support is for changes they want, not for fixing bugs that should have never been there in the first place. Less than 5% is for that.

Re:Ask YC: Code Digesting by michael_dorfman on Thursday May 22, 2008 @11:23AM (#197185)
Wow. I can't think of anything I've spent my money on recently that has been perfect, software or otherwise.