News for hackers. Stuff that matters.
Re:Testing is waste of time, I know that my code works by hxa7241 on Friday December 24, 2010 @02:01PM (#2037788)
I suppose testing could be understood as a special error-correcting code for a particular noisy information processor -- humans writing software.

But then one must begin to wonder, are they doing that job very well? Testing does not seem to be so carefully designed as Hamming codes or others . . .

Re:Testing is waste of time, I know that my code works by jeffdavis on Friday December 24, 2010 @02:46PM (#2037871)
It's not as much about clarity of communication as it is clarity of thought.

Also, a program is not a single message being sent to the computer. A program is revised over time, and testing helps ensure the integrity of the program through revision.

Re:Testing is waste of time, I know that my code works by hxa7241 on Friday December 24, 2010 @06:15PM (#2038213)
> ensure the integrity of the program through revision

Yes, that is what I am thinking: each step is like sending the signal through a noisy channel (that also does some transforming -- it is not an exact analogy). But testing doesn't seem to be carefully designed to address the particular kinds of 'noise'/mistakes that humans make.