Goto?

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

Kat has brought up the subject of Goto and while we are talking about 4.0 and
new keywords, let's just talk about this one too.

I have mixed emotions about it. Goto in some situations can be a very valuable
construct but it can also be a construct that novice programmers can really get
in trouble with causing hours of unnecessary debugging.

So, I guess the real decision is does Euphoria take a stand at trying to protect
the programmer from writing bad code or does it provide to them power and if the
programmer wishes to shoot himself with it, they can.

I know this will be a controversial subject. All I am doing is the same thing
I've done with things in the past. Raise the subject and let's talk about it.
Since it is controversial, let's not get upset. All we are doing is talking about
it. Let's not revert to name calling, yelling or getting upset. It's just a talk
about goto.

There is an existing wiki page that you may wish to read before commenting. I am
unsure of it's original author:

http://euwiki.ayo.biz/Goto

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu