Re: Open Source

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

don cole wrote:
> 
> I didn't know it was going to be this much of a problem.
> 
> Let's just forget Goto.
> 
> Don Cole

Don't give up so easily -- it's been a contentious issue for as long as I can
remember. At least as contentious, if not more so, than the way that include
files and global variables should be handled.

BTW, well-written post above, Juergen.

I also kind of liked Jacques' post above regarding exception-handling
mechanisms. There should be a simple, Euphorian way to do that. I just don't know
what it is right now.

One suggestion: change the existing "exit" statement to optionally allow a label
and to work in both loops and if statements. You get 99% of the functionality of
the goto.

I also like the idea of "continue <label>" or "next <label>" where label is an
optional identifier at the beginning of a loop. But I haven't given it too much
thought.

As for handling tail-recursion? I have no idea.

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu