comp.lang.ada
 help / color / mirror / Atom feed
* Re: Ada goto
@ 1989-01-16 23:46 Alex Blakemore
  1989-01-17 17:27 ` William A. Bralick
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Blakemore @ 1989-01-16 23:46 UTC (permalink / raw)


>>From article <1089@shuksan.UUCP>, by scott@shuksan.UUCP (Scott Moody):
>> I for one wouldn't mind procedure parameters and varaiables, 
>> ala C, but I can see that they go against the non goto rational behind Ada.

   >Speaking of the non-goto rationale behind Ada, can anyone tell me
   >why Ada has a goto statement??  (See LRM 5.9...)  The Rationale for 
   >the Design of Ada conveniently fails to discuss it.

   According to John Barnes [Programming in Ada p. 61]
     "The main reason concerns automatically generated programs ...
     [to] transliterate (by hand or machine) a program from some other
     language into Ada"
     He also points out the syntax was deliberately made
     to stick out like a sore thumb.  <<UGLY_LABEL>>

   Sounds like a reasonable tradeoff to me.
   Now if they only bring back the computed goto :-)

                           Alex Blakemore
                           Software Productivity Consortium

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1989-01-17 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-01-16 23:46 Ada goto Alex Blakemore
1989-01-17 17:27 ` William A. Bralick

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