Hi Stanislav,

On Monday 06 June 2005 13.33, Stanislav Malyshev wrote:
> I'm not sure why goto should be needed after many years of
> successful life without it. I think parametrized break/continue
> takes care of all cases when I would need goto in C, so I think
> goto is not needed. 

People are talking about hypothetical messy code because of goto, but 
the current situation is even *worse*.

I have some code that I have had to rewrite several times just because 
all those nested loops with different levels of break and continue is 
extremely hard to follow. Using recursive functions is not an option, 
as Ilia already said - it will just crash PHP.

Exceptions ? No thank you, even worse then continue/break..


Magnus Mtt

-- 
A kiss is a course of procedure, cunningly devised, for the mutual
stoppage of speech at a moment when words are superfluous.

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

Reply via email to