Re: GOTO operator

php.internals

Frank M. Kromann

22 years ago
[snip]
> The average Joe may not need goto in some case but he will find that it
simplifies
> his job (but making code clumsy, something what he does not realize). > It is not because I don't like the power of goto, I would like not to be
given in the
> hands of the newbie. > > andrey >
PHP has many advanced features that would make a newbie (or any other level of skills) produce bad code, but yet we have these functions and features in the language. Most code can be written without GOTO, and I belive that it will, but some cases simply gets more messy by not having the option of using GOTO's. Implementing the feature would allow programmers at any level to use it or leave it. I like options! - Frank

Andrey Hristov

22 years ago
Frank M. Kromann wrote:
> [snip] > > >>The average Joe may not need goto in some case but he will find that it > > simplifies > >>his job (but making code clumsy, something what he does not realize). >>It is not because I don't like the power of goto, I would like not to be > > given in the > >>hands of the newbie. >> >>andrey >> > > PHP has many advanced features that would make a newbie (or any other > level of skills) produce bad code, but yet we have these functions and > features in the language. > > Most code can be written without GOTO, and I belive that it will, but some > cases simply gets more messy by not having the option of using GOTO's. > > Implementing the feature would allow programmers at any level to use it or > leave it. I like options! > > - Frank
Ok, I surrender. Go for it :) I will pray and let God save me from ever maintaining spaghetti goto code :) andrey +0

Ilia A.

22 years ago
On July 29, 2004 09:13 pm, Andrey Hristov wrote:
> Ok, I surrender. Go for it :) > I will pray and let God save me from ever maintaining spaghetti goto code > :)
Andrey, Well, you already have a list of goto enabled languages to avoid, what's one more? :-) Ilia

Andrey Hristov

22 years ago
Ilia Alshanetsky wrote:
> On July 29, 2004 09:13 pm, Andrey Hristov wrote: > >>Ok, I surrender. Go for it :) >>I will pray and let God save me from ever maintaining spaghetti goto code >>:) > > > Andrey, > > Well, you already have a list of goto enabled languages to avoid, what's one > more? :-)
What should I do then? Java? Please no! :-)
> Ilia >
andrey zzzZzzzZZZZZzzz