note 91429 added to control-structures.goto
| From: | Ben at osu1 dot php dot net | Date: | Wed, 10 Jun 2009 01:27:07 +0000 |
| Subject: | note 91429 added to control-structures.goto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-156701@lists.php.net to get a copy of this message | ||
Why a goto command? Honestly i cannot think of a reason or even a purpose that this would be
required as you can do the same thing with OO programming and recursive functions for instance as
long as you do it properly.
It seems like a very dangerous and counter productive method to add. It will make any future
debugging of code using goto commands so very hard to follow.
----
Server IP: 69.147.83.197
Probable Submitter: 59.167.243.230
----
Manual Page -- http://www.php.net/manual/en/control-structures.goto.php
Edit -- https://master.php.net/note/edit/91429
Del: integrated -- https://master.php.net/note/delete/91429/integrated
Del: useless -- https://master.php.net/note/delete/91429/useless
Del: bad code -- https://master.php.net/note/delete/91429/bad+code
Del: spam -- https://master.php.net/note/delete/91429/spam
Del: non-english -- https://master.php.net/note/delete/91429/non-english
Del: in docs -- https://master.php.net/note/delete/91429/in+docs
Del: other reasons-- https://master.php.net/note/delete/91429
Reject -- https://master.php.net/note/reject/91429
Search -- https://master.php.net/manage/user-notes.php