Re:Why Dijkstra suggested Premature-Loop-Exit Prohibition
by jgrahamc on Monday August 03, 2009 @10:00AM
(#739197)
Pascal: I used to sign my comments on this site and after a polite argument I changed my ways to fit in better. It's just not the house style on news.yc.
Re:Why Dijkstra suggested Premature-Loop-Exit Prohibition
by stcredzero on Monday August 03, 2009 @10:12AM
(#739219)
What effect is there on optimization?
http://frama-c.cea.fr/jessie_tutorial_index.html
Presumably exceptions were not a standard feature in programming languages when Dijkstra made his comment about premature-loop-exits. The "break;" C construct is only a restricted form of exception and exceptions are much better understood now than then. Verifying a program that uses them is no more difficult than verifying a program that doesn't.
Pascal Cuoq