Re: Goto (Was Re: Open Source)
- Posted by Juergen Luethje <j.lue at ?m?.de> Oct 24, 2007
- 811 views
Pete Stoner wrote: <snip> > <whispering> > 21. GOTO construct. > - I have no great desire for this and don't (really don't!) want to > start > any new disputes but just a small suggestion.. GOTO is disliked as it could > branch anywhere in the code and thus become difficult to follow. How about if > it was only allowed within the scope of its own proc/func? > <\whispering> That means people can write procedures/functions with 200, 500 or even more lines, and then jump back and forth in those routines like they want. What is the advantage? This whole discussion is not logical for me. Someone asks for intrducing GOTO into Euphoria, and other people make suggestions how to limit the damage then. The first question should be: Why does someone want GOTO, and exactly _for what purposes_? I'm pretty sure then we can find more appropriate constructs for the desired purposes -- high level constructs for the high level language Euphoria. Regards, Juergen