Duane’s Quick Posts

 
« Back to blog

PHP Regression

Goto added to php 5.3.  Is it a bug?  Apparently not.

Loading mentions Retweet

Comments (3)

Aug 30, 2009
Anthony Martin said...
Why is goto automatically a bug?
Sep 02, 2009
Duane Johnson said...
@Anthony: There was a paper written long ago (early 80s?) called "Goto considered dangerous".  It goes on to explain how goto contributes to difficult-to-debug code in the long run.  Having programmed in GW BASIC which makes excessive use of GOTO, I happen to agree :)

Sep 02, 2009
Anthony Martin said...
Yes, I am aware of that stupid paper.

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     Connect     twitter