Re: Problems w/ goto

From: Date: Fri, 17 Dec 2010 17:59:37 +0000
Subject: Re: Problems w/ goto
References: 1 2 3 4  Groups: php.db php.general 
Request: Send a blank email to php-db+get-47553@lists.php.net to get a copy of this message
On Fri, Dec 17, 2010 at 12:22, Robert Cummings <robert@interjinn.com> wrote: > > I was one of the people that argued in favour of GOTO on the Internals list > a few years ago. GOTO has a use, and a very good one at that. It is by far > the most efficient construct when creating parsers or other similar types of > logic flow. The demonized GOTO of the 80s was primarily due to jumping to > arbitrary points in the code, or in the case of basic to arbitrary line > numbers in the code which had little meaning for future readers. Not to mention failure to properly break, as in the OP's code example. -- </Daniel P. Brown> Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/

« previous php.db (#47553) next »