home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!swrinde!network.ucsd.edu!sdcrsi!equalizer!timbuk.cray.com!hemlock.cray.com!dsf
- From: dsf@cray.com (Dan Frankowski)
- Newsgroups: comp.lang.c++
- Subject: Re: GOTO, was: Tiny proposal for na
- Message-ID: <1992Aug26.130335.26725@hemlock.cray.com>
- Date: 26 Aug 92 18:03:35 GMT
- References: <714668024@thor> <6800007@tisdec.tis.tandy.com>
- Organization: Cray Research, Inc.
- Lines: 26
-
- In article <6800007@tisdec.tis.tandy.com> kevinl@tisdec.tis.tandy.com writes:
-
- > For experienced programmers, the goto is a legitamite tactic.
- >There may not be any cases where a goto is absolutly necessary (I've
- >heard that there are some, but I have yet to see any), ..
-
- I thought that one of the triumphs of the Structured Programming camp
- was an honest-to-goodness proof that any code using gotos could be
- replaced by structured constructs and state variables. I can imagine
- some such proof by construction from arbitrary code with a goto.
-
- > I agree that programs are generally easier to understand and
- >debug when there are no goto statements, but, if well documented
- >gotos are just another structured technique.
-
- If one-entry-one-exit is part of a structured programming, then the
- goto is not "just another structured technique." Note that I did not
- say gotos have no uses. (I haven't made up my mind yet. Maybe this
- thread will help me decide. :-) However, they're not structured
- programming, as defined by the debate in computer science fifteen-odd
- years ago.
-
- DISCLAIMER: This ain't official Cray business.
-
- --
- Dan Frankowski Dan.Frankowski@cray.com (612) 683-5099
-