On Thu, 12 May 2005 21:53:28 +0100 (BST)
ard at p850ug1.demon.co.uk (Tony Duell) wrote:
I absolutely concur with John's conclusion:
Academia, the elites or otherwise, saw the 'horrors' of goto and
declared it an evil that was to be expunged from any language. The
toolbox was diminished by this action in my humble opinion. Yet for
us QBasic guys we still employ it. Boy does it get one out of a jam.
Mimics real life doesn't it?
I regard 'goto as the programming equivalent of the adjustable
spanner. There are often better tools to use, using it wrongly can get
you into real trouble, but it's rare to find a hacker who's not used
it (just as mo hardware guy will use an adjustable spanner when there
are better tools available, but I don't know of a serious hardware
hacker who doesn't have one in the toolbox...)
-tony
Heck, I even have an adjustable box-end wrench. *ducks*
The folks who deplore GOTO are the 'Structured Programming' folks. Who
have a lot of flavors and attempts at 'structured programming' behind
them now, and keep chugging along. It's about sociable coding, as
opposed to asocial 'solitary' coding. Which is important. But as an
over-experienced Assembly Language programmer, I got into trouble in my
'Intro to C' course because I was in the habit of writing my own
functions instead of using The Standard Library.
-scott