note 91719 deleted from control-structures.goto by thiago
| From: | thiago@php.net | Date: | Wed, 24 Jun 2009 03:27:48 +0000 |
| Subject: | note 91719 deleted from control-structures.goto by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157328@lists.php.net to get a copy of this message | ||
Note Submitter: Anon.
----
Gotos can be fun. For example, you can nest gotos inside switch/case statements that operate on
random values generated from one or more functions or code segments jumped to using the gotos. One
or more gotos can jump back to a point just before the switch/case structure. How about jumping
outside an if structure, with looping, and take out the stack. It's possible to generate very
quickly useless code that is impossible to understand or maintain. Hey- maybe that the secret sauce
in voting machines. Gotos.