comp.lang.ada
 help / color / mirror / Atom feed
From: "Shmuel (Seymour J.) Metz" <nospam@gsg.eds.com>
Subject: Re: Use of 'goto'
Date: 1997/07/03
Date: 1997-07-03T00:00:00+00:00	[thread overview]
Message-ID: <33BC28C1.FC2@gsg.eds.com> (raw)
In-Reply-To: 01bc7c39$64813260$LocalHost@xhv46.dial.pipex.com


Nick Roberts wrote:
> 
>  Theoretically, use of the goto can always be replaced
> by other things (this has been proved), but in practice - hah hah!

Actually, that's not true. You're thinking of the article by Bohm (sp?)
and Jacopini, but what they proved was subtly different and not as
strong.

> It's never actually happened to me, interestingly, but if I were to join a
> project and someone were to say "don't use that goto", I would ask them
> why, knowing they could not answer.

If it was me, you'd be wrong. I've told that to students, but only when
I saw a cleaner way (I've seen situations where GOTOs were legitimately
used, but rarely in student code.)

> If they still insisted, I would quit,
> and that is rare thing for me to do. Code bigots come right down on the
> list of the things that crawl upon their belly. Ignorant code bigots come
> bottom.

Ignorant OS bigots. Ignorant editor bigots.

> Is this a dangerous topic, or what?

No, it's a lot safer than "My editor can beat up your editor". Even that
is safer than "My shell can bash <g> in your shell."

> Nick ;-)

-- 

                        Shmuel (Seymour J.) Metz
                        Senior Software SE

The values in from and reply-to are for the benefit of spammers:
reply to domain eds.com, user msustys1.smetz or to domain gsg.eds.com,
user smetz.




      parent reply	other threads:[~1997-07-03  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-18  0:00 Use of 'goto' Nick Roberts
1997-06-20  0:00 ` Mike linnig
1997-06-20  0:00   ` Robert Dewar
1997-07-03  0:00   ` Shmuel (Seymour J.) Metz
1997-07-03  0:00     ` Robert Dewar
1997-07-03  0:00 ` Shmuel (Seymour J.) Metz [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox