Re: New keyword added: continue

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
>  
> I accept that some view this as insufficient reason for adding goto.  I 
> happen to disagree with them.
> 

I think goto should be added, however, if goto exists and it makes sense to use
it in a given situation, then it should be allowed in the standard library.
Everyone is afraid of spaghetti code. We can create spaghetti code with or
without goto. What stops us from doing so? Hopefully those contributing to
Euphoria know how to program w/o spaghetti. Hopefully those peer reviewing
commits will recognize spaghetti when it's committed. To say that goto could
*possibly* create spaghetti *if* used improperly by a *novice* programmer
therefore it should not be allowed in the standard library sounds a bit odd to
me.

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu