Re: Open Source

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

jacques deschĂȘnes wrote:

> Juergen Luethje wrote:
> > 
> > don cole wrote:
> > 
> > >   Now that Euphoria open source. (The answer to everything.) How come we
> > >   now
> > > can't have a Goto?
> > 
> > We could also ask:
> > "Now that everyone can use tools for calculating like (s)he wants,
> > how come that nobody uses a slide rule?".
> > The answer to both your and my question is the same: It's obsolete,
> > nowadays there are better tools for the regarding purpose.
> > 
> > Regards,
> >    Juergen
> 
> Don't make it a religion.  "Goto" is not the devil.  By the way in assembler
> there is only "goto" 

I do not make it a religion. Please do not put words into my mouth.
I just say that it's obsolete in high-level languages. This is of
course only true if a language provides sufficient other possibilities.
For instance in Euphoria, it would be useful not only to have an 'exit'
statement, but also the possibility to write something like

   exit <number of levels>

> conditional ones like those that jump to a label if some flag is set or unset
> and unconditionnal jump.  Even at call to subroutine is a goto preceded by som
> push an registry saving.
> 
> There is a place for "goto", with or whitout "goto" a good coder stay a good
> coder and a bad one, a bad one.
> 
> 
> Jacques D.

Regards,
   Juergen

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

Search



Quick Links

User menu

Not signed in.

Misc Menu