Re: Re: Long Live GOTO

From: Date: Mon, 06 Feb 2012 16:35:11 +0000
Subject: Re: Re: Long Live GOTO
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-316478@lists.php.net to get a copy of this message
On Mon, Feb 06, 2012 at 09:28:10AM -0700, Larry Martell wrote: > On Mon, Feb 6, 2012 at 9:23 AM, Alain Williams <addw@phcomp.co.uk> wrote: > > If I survey my code I find that I use one GOTO in about 4,000 lines of code - > > that I do not find excessive. > > > > There are, however, people who consider any GOTO as communion with the devil. > > IMHO: not so - if used sparingly. > > Just for another data point, the FAA does not allow gotos in any code > that goes into an airplane. And your point is ? It just means that someone in the FAA does not like GOTO. If you can come up with their reasoned argument for the ban I will look at it, but without that the data point does not have much value - IMHO. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include <std_disclaimer.h>

« previous php.general (#316478) next »