From: "Nick Williams" <nickw@acm.org>
Subject: Re: code partitioning (was: Future with Ada)
Date: Sun, 17 Mar 2002 13:19:37 GMT
Date: 2002-03-17T13:19:37+00:00 [thread overview]
Message-ID: <1016371173.685267@ananke.eclipse.net.uk> (raw)
In-Reply-To: mailman.1016084642.17231.comp.lang.ada@ada.eu.org
Well, the reason for having labels on loops is fairly clear; to allow an
exit statement to exit from a loop other than the innermost enclosing one.
So there's obviously a concrete 'why' for loops - its not as clear for
blocks (although I can see that it might be nice to have a construct which
allows a new declarative region to be nameable).
On the other hand, allowing this for if and case statements sounds a lot
more like simple syntactic sugar. I don't really think it's sufficient to
say 'language construct A has this additional syntax; so why not B?', rather
the question should be 'why does language construct A have this additional
syntax, and does language construct B benefit from it in a consistent way?'.
Cheers,
Nick.
"Christoph Grein" <christoph.grein@eurocopter.com> wrote in message
news:mailman.1016084642.17231.comp.lang.ada@ada.eu.org...
> This is the only form I would like to see as a future syntax enhancement.
We
> already have this for loops and blocks, so why not for ifs and cases (and
> selects).
>
> We do not need weird new syntax rules.
>
next prev parent reply other threads:[~2002-03-17 13:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-14 5:41 code partitioning (was: Future with Ada) Christoph Grein
2002-03-16 15:46 ` Jacob Sparre Andersen
2002-03-17 13:19 ` Nick Williams [this message]
2002-03-17 19:41 ` Robert A Duff
-- strict thread matches above, loose matches on Subject: below --
2002-03-13 6:09 Christoph Grein
2002-03-13 11:50 ` Larry Kilgallen
2002-03-13 14:15 ` Wes Groleau
2002-03-13 15:21 ` Kevin Cline
2002-03-13 15:24 ` Pascal Obry
2002-03-13 14:11 ` Wes Groleau
2001-11-09 17:59 Future with Ada Michal Nowak
2002-02-26 4:12 ` Jim Rogers
2002-02-27 17:51 ` Warren W. Gay VE3WWG
2002-02-28 17:45 ` Michal Nowak
2002-02-28 18:53 ` Hyman Rosen
2002-03-01 17:26 ` Jeffrey Carter
2002-03-03 8:26 ` Hyman Rosen
2002-03-03 17:47 ` Chad R. Meiners
2002-03-04 16:30 ` Hyman Rosen
2002-03-05 1:41 ` Richard Riehle
2002-03-05 21:35 ` Wes Groleau
2002-03-05 22:04 ` Marin David Condic
2002-03-06 16:36 ` Georg Bauhaus
2002-03-06 17:27 ` Marin David Condic
2002-03-07 16:04 ` Georg Bauhaus
2002-03-07 16:42 ` Marin David Condic
2002-03-11 20:02 ` Wes Groleau
2002-03-11 23:56 ` Marin David Condic
2002-03-12 16:47 ` code partitioning (was: Future with Ada) Wes Groleau
2002-03-12 17:56 ` Marin David Condic
2002-03-14 15:27 ` John R. Strohm
2002-03-15 14:15 ` Ted Dennison
2002-03-16 10:37 ` Kevin Cline
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox