Re: goto considered essential

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

Rad wrote:
> 
> C Bouzy wrote:
> > 
> > Tom,
> > 
> > If you were to do a search you will come across numerous discussions
> > regarding
> > goto. Robert is not going to add goto, and in my opinion it does very little
> > to help the language. 
> > 
> > ----If you continue to do what you have always done,
> > you will get what you have always gotten.----
> 
> If we are talking about "bad programming habits" as main deterrent for goto,
> then I would say that no programming language can have any bad habits. It is
> the programmer who can.
> 
> Any programming language provides various resources for the programmer to
> build his/her logic. It is really up to the programmer to use the bad or
> good logic using these resources.
> 
> It is possible to write a program with worst logic which doesn't have a
> single goto as well as a best program which makes use of goto’s at
> essential points. To pick up these essential points is the programmer’s job.
> 
> In end, goto’s won’t hurt from the programming language perspective, but
> can hurt from programmer’s viewpoint, if not used properly.
> Eu should implement goto if possible and allow the programmer to take
> a call on it.
> 
> Regards,
> Rad.

Hello Rad,

There are still two schools of thought on that...
1.  It's all up the the programmer so allow the user to decide
    so include a 'goto'.
2.  Put 'goto' in the hands of an inexperienced programmer and he/she,
    will develop bad programming habits, so dont include a 'goto'.

The argument of which one is right (1 or 2 above) has been going on
for years and years (earlier than 1980) so it's doubtful that we will
come up with any conclusive argument one way or the other here.
It's all been said 100000 times over and over again.
Some people believe (1) and some (2) and that's all there is to it.
If you write your own language you put it or dont put it according
to what YOU want.


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

Search



Quick Links

User menu

Not signed in.

Misc Menu