comp.lang.ada
 help / color / mirror / Atom feed
* more goto
@ 1989-01-20 15:55 Alex Blakemore
  0 siblings, 0 replies; only message in thread
From: Alex Blakemore @ 1989-01-20 15:55 UTC (permalink / raw)


Re: the goto question

  The most convincing argument I have heard in support of the goto
is that it could come in useful for tools that generate source code,
(e.g parser generators and a few others).  Since the emitted code
is not generally intended to be maintained by humans, who cares if
it contains gotos ?  Especially if it makes such tools easier to construct.
The important thing is that the source the programmer works with
have a logical structure (the .y file in yacc's case).

  This sounded plausible, since I had seen several gotos in source
created by yacc.  I looked a little closer and found nine gotos
which were all copied exactly from the standard skeleton parser driver, yaccpar. 
The emitted code itself contains no gotos.  So maybe the above argument
doesn't really hold.

  Who believes we're still arguing over this in 1989 ?

                             Alex Blakemore
                             Software Productivity Consortium

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1989-01-20 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-01-20 15:55 more goto Alex Blakemore

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