comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: Trivial Ada question
Date: Thu, 4 Jul 2002 09:15:05 +0000 (UTC)
Date: 2002-07-04T09:15:05+00:00	[thread overview]
Message-ID: <slrnai84gn.og.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: mailman.1025773383.11604.comp.lang.ada@ada.eu.org

* Grein, Christoph wrote:
>> So simply write:
>> 
>>   INCREMENT: for dummy in 1 .. 1 loop
>>     for i in a'Range loop
>>       exit INCREMENT when condition (a (i));
>>     end loop;
>>     n := n + 1;
>>   end loop;
>> 
>> No 'evil' goto, and a 'telling' label.
>
>This was a joke, wasn't it?

No. It is a solution for people living in eviroments where writing 'goto'
into programms may cause losing jobs.

>Is this really better than a simle and innocent and nearby goto?

No.

>These goto wars are astounding.

Ack.

>Event the most simple goto solution is replaced by a contrived no-goto
>one!

Ack.

>I have to confess that I have not needed a goto in so many years, but the
>goto solution is one of the simplest solutions of all those presented.

Ack.



  reply	other threads:[~2002-07-04  9:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-04  8:59 Trivial Ada question Grein, Christoph
2002-07-04  9:15 ` Lutz Donnerhacke [this message]
2002-07-05 22:25 ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
2002-06-28  9:07 Reinert Korsnes
2002-06-28 10:10 ` David C. Hoos, Sr.
2002-06-28 10:54   ` Reinert Korsnes
2002-06-28 10:57     ` Reinert Korsnes
2002-06-28 11:33       ` David C. Hoos, Sr.
2002-06-28 11:44     ` Ted Dennison
2002-06-28 21:38       ` Steven Deller
2002-06-28 12:29     ` Steve Sangwine
2002-07-03 18:59   ` Robert I. Eachus
2002-07-03 19:41     ` Darren New
2002-07-04  8:28       ` Lutz Donnerhacke
replies disabled

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