The Artima Developer Community
Sponsored Link

Python Buzz Forum
Testing considered harmful

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ian Bicking

Posts: 900
Nickname: ianb
Registered: Apr, 2003

Ian Bicking is a freelance programmer
Testing considered harmful Posted: Sep 18, 2003 12:18 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ian Bicking.
Original Post: Testing considered harmful
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ian Bicking
Latest Posts From Ian Bicking

Advertisement
Maybe Dijkstra isn't going that far, but it's an interesting argument against testing. He would certainly have bristled at the notion that "once your tests pass your code is done," even if tests still serve a certain purpose. Sometimes I feel I should reread my software more often. If it's not worth rereading, then it's too long and should be cut. If it is too good to need refinement, then reading it will simply make me feel happy even if I don't change it. But by rereading, I may feel more certain of the correctness of the program, as well as the conceptual integrity. Unit tests are good, but unit tests do not make code *beautiful*. Another interesting point he makes: programs are not correct, computations are correct. That is, it is the *running* of the program that must be correct, in the fullness of its environment within and beyond the computer it runs on. Indeed, this is why I believe the Turing Machine is not applicable to real programming, because no useful programs can be reduced to a Turing Machine. Useful programs are useful only because they produce useful computations, and without I/O a Turing Machine is fundamentally unable to be useful.

Read: Testing considered harmful

Topic: Interactive Python - notes Previous Topic   Next Topic Topic: Jon Udell on E-mail's special power

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use