Re: New keyword added: continue

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

Jeremy Cowgar wrote:
> 
> CChris wrote:
> > 
> > Pascal compilers didn't recognise goto, unless a specific option was turned
> > on. Perhaps that would be the way to go: if you want goto, have it, but know
> > that you are doing things the hard way. I still think some equivalent of
> > come_from()
> > is necessary to make goto usable in the Euphoria framework - you know, that
> > world where raw pointers are considered unsafe -.
> > 
> 
> I do not think this is a viable option as it would introduce code
> incompatabilities.
> Say, John likes goto's and writes a library but Joe does not like goto's. He
> downloads John's library and cannot use it because he will not enable gotos.
> Then, John will start declaring "goto must be enabled", etc... I think that
> one Euphoria programmer should be able to run another Euphoria application in
> the same version w/o incompatibilities.
> 
> Along the lines of one of the requirements for the standard library... no
> external
> dependencies. This is so if Jane writes a program, she knows it will run on
> Jim's install of Euphoria.

Ok, don't turn off goto, and then Jane's code can run on Jim's computer.

Kat

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

Search



Quick Links

User menu

Not signed in.

Misc Menu