Re: Re: Labeled Breaks (not the G-word)

From: Date: Tue, 29 Nov 2005 07:09:02 +0000
Subject: Re: Re: Labeled Breaks (not the G-word)
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-20800@lists.php.net to get a copy of this message
Stanislav Malyshev wrote:
MB>>cool argument: as long as there are worse features we can add anything? :-)) No, as long as the feature has high abuse potential (hint: goto does) it is better not to add it. Of course, it's not always possible, some features are vital even if dangerous. But goto is nowhere near vital, IMHO.
a scope limited goto will never be close as dangerous for spagetti code as exceptions already are because they are not scope limited. regards, Lukas

« previous php.internals (#20800) next »