Stanislav Malyshev wrote:
MM>>Exceptions ? No thank you, even worse then continue/break..

Why is it worse? That's something that I don't understand - why people think exceptions, which have clear structured mechanism of using them, are worse than goto which has no safeguards at all and allows to do a lot of

no safeguards?

the safe guard is that you only have:
# static labels to jump to
# that you can only jump in the current scope

now tell me that exceptions dont allow for much more drastic jumps in your code that will not be able to easily be detected (in most cases with a simple search in your current file)

and again if all you want to do is a single jump, why on earth would you want people to be forced to throw an exception, which they have no intention of using.

regards,
Lukas

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to