note 91394 deleted from control-structures.goto by danbrown
| From: | danbrown@php.net | Date: | Tue, 09 Jun 2009 18:40:10 +0000 |
| Subject: | note 91394 deleted from control-structures.goto by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156634@lists.php.net to get a copy of this message | ||
Note Submitter: dagoodboy at gmail dot com
----
From "Go To Statement Considered Harmful: A Retrospective" by David R. Tribble
"Dijkstra's belief that unstructured goto statements are detrimental to good programming
is still true. A properly designed language should provide flow control constructs that are powerful
enough to deal with almost any programming problem. By the same token, programmers who must use
languages that do not provide sufficiently flexible flow control statements should exercise
restraint when using unstructured alternatives. This is the Tao of goto: knowing when to use it for
good and when not to use it for evil."
http://david.tribble.com/text/goto.html