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

From: Date: Tue, 29 Nov 2005 12:05:34 +0000
Subject: Re: Re: Labeled Breaks (not the G-word)
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-20815@lists.php.net to get a copy of this message
Stanislav Malyshev wrote:
No, they are not. If you don't purposedly abuse it, exceptions are a structured way to handle exceptional situations, with well-defined effects and known control points. They won't allow you to randomly jump around the code.
How is that different from "goto"? And if you can jump through 80% if your code via an exception while you unwind the stack it might be ordered but you tell me that you know whats going on. For all intends and purposes it will be just as random, with the difference that you can search for the goto much better than for the exception handler. Anyways I have made my case and you have made yours. We can now choose to ignore eachother :-) regards, Lukas

« previous php.internals (#20815) next »