|
|
|
|
|
by rnprince
3408 days ago
|
|
Dijkstra spent a lot of his research effort on ways to prove that programs are correct. "Today a usual technique is to make a program and then to test it. But: program testing can be a very effective way to show the presence of bugs, but it is hopelessly inadequate for showing their absence. The only effective way to raise the confidence level of a program significantly is to give a convincing proof of its correctness." https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD340.PDF |
|
"Beware of bugs in the above code; I have only proved it correct, not tried it."
http://www-cs-faculty.stanford.edu/~knuth/faq.html