On Thu, Dec 10, 2009 at 11:20 AM, Wayne Werner <waynejwer...@gmail.com> wrote:

> On Wed, Dec 9, 2009 at 6:15 PM, Alan Gauld <alan.ga...@btinternet.com>
> wrote:
>>
>> Remember, in testing you are not trying to prove it works but rather to
>> demonstrate that it doesn't!
>
> So in that way it's a bit like the the scientific method (or exactly like)?
> You create a hypothesis and design tests to invalidate your hypothesis...
> and if they fail to invalidate you may have a valid hypothesis. Simply
> replace hypothesis with program and you get the testing procedure?
> -Wayne

Nice analogy! And like with a scientific hypothesis, you can never be
sure your program is correct, only that all your attempts to prove it
incorrect has failed.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to