Re: Goto (Was Re: Open Source)

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

c.k.lester wrote:
> 
> CChris wrote:
> > c.k.lester wrote:
> > > CChris wrote:
> > > > Sure, but in keeping with all other Euphoria code block syntactic
> > > > markers.
> > > IMHO, we should never choose tradition over efficiency. :)
> > I agree, but then it would be another language...
> 
> I don't see Euphoria as a rigidly bordered language any more, not since it's
> gone open source. Euphoria can be another language, if the people so choose.
> However, we already have a looping mechanism in while, with the test up top.
> The loop...until construct would simply put the test at the end,  meaning it
> would always run at least once.
> 
> And if Euphoria hasn't needed that since it began, why does it need it now?

Thanks for this pure example of self-realising statement :P

My answer is: because the coder who needed the construct didn't use Eu to write
its program, as Eu had uncomfortable limitations.

The loop ... until ... construct doesn't add much functionality, as it can be
emulated. It's just a convenience and can prevent some bugs from appearing by not
requiring a translation to another loop, usually a while one.

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu