comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: How to implement a continue statement in Ada?
Date: 2000/02/08
Date: 2000-02-08T00:00:00+00:00	[thread overview]
Message-ID: <87q53f$6q6$1@nnrp1.deja.com> (raw)
In-Reply-To: 87pgm3$o3p$1@nnrp1.deja.com

In article <87pgm3$o3p$1@nnrp1.deja.com>,
  Oliver Kellogg <okellogg@my-deja.com> wrote:
> In article <6smb7v$j39$1@nnrp1.dejanews.com>,
>   dennison@telepath.com wrote:
>
> > I have used Ada for 9 years now, and have yet to tell myself,
> > "gee, I really wish I could do a continue". I think this is
> > mostly an issue for C converts.
>
> Then again, I have never needed goto for other than
> emulating "continue". So I see this as an exceptional case.
>
> I hereby cast my vote for introducing the "continue"
> keyword in Ada-0x

Hmmm. That quote sounded like me, but I don't exactly share that
sentiment. A quick deja search shows that I posted that back on
September 3, 1998. I realize that at the time no one called me on the
statement, but I think the statue of limitations on arguing the point
with me has long since passed. :-)

For a post of mine on the subject of slightly more recent vintage, try
the following, posted less than a month ago under the thread title of
"Re: bitwise comparators":

> C's continue statement would be helpful often in my Ada code,
> but it does make the code tougher to follow.

As you can see, my opinion has changed slightly over the intervening 1.4
years. Apparently I've written a lot of loops since then. :-)

--
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~2000-02-08  0:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-08  0:00 How to implement a continue statement in Ada? Oliver Kellogg
2000-02-08  0:00 ` David Starner
2000-02-08  0:00   ` Aidan Skinner
2000-02-09  0:00     ` Ted Dennison
2000-02-12  0:00       ` Jeff Carter
2000-02-14  0:00       ` Oliver Kellogg
2000-02-09  0:00     ` David Starner
2000-02-10  0:00       ` Aidan Skinner
2000-02-12  0:00       ` Character vs. String comparisons (was: Re: How to implement a continue statement in Ada?) Jeff Carter
2000-02-12  0:00         ` David Starner
2000-02-08  0:00 ` Ted Dennison [this message]
2000-02-09  0:00   ` How to implement a continue statement in Ada? Roger Barnett
     [not found] <35EA8153.7BFC91E3@physics.purdue.edu>
1998-08-31  0:00 ` Norman H. Cohen
1998-08-31  0:00 ` Robert I. Eachus
1998-08-31  0:00   ` Robert T. Sagris
1998-09-01  0:00     ` Matthew Heaney
1998-09-01  0:00 ` alan walkington
1998-09-02  0:00   ` Dr Richard A. O'Keefe
1998-09-02  0:00     ` Matthew Heaney
1998-09-02  0:00     ` alan walkington
1998-09-03  0:00     ` dewarr
  -- strict thread matches above, loose matches on Subject: below --
1998-08-31  0:00 Robert T. Sagris
1998-09-01  0:00 ` Dr Richard A. O'Keefe
1998-09-01  0:00   ` dewarr
1998-09-03  0:00     ` Dr Richard A. O'Keefe
1998-09-03  0:00       ` dennison
1998-09-01  0:00 ` dewarr
replies disabled

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