comp.lang.ada
 help / color / mirror / Atom feed
From: Wes Groleau <wesgroleau@despammed.com>
Subject: Re: labeling (was: partitioning (was: Future))
Date: Mon, 18 Mar 2002 17:52:30 -0500
Date: 2002-03-18T17:52:30-05:00	[thread overview]
Message-ID: <3C966FAE.33209B1C@despammed.com> (raw)
In-Reply-To: mailman.1016431262.29347.comp.lang.ada@ada.eu.org


> > In my opinion, the two best proposals so far are
> >
> >    Label:
> >       case/if expression is/then
> >          .....
> >       end case/if Label;
> >
> > AND
> >
> >    case/if expression is/then
> >        .....
> >    end case/if (expression);
> >
> > The first is simpler, but the second has more flexibility.
> 
> Really, where is the _inflexibility_ of the first form? Because you have to
> invent a name for the label?

The first form is simpler because there's only two options.

The second is more flexible because for an if statement
of N branches, there are 2**N options.

-- 
Wes Groleau
http://freepages.rootsweb.com/~wgroleau



  reply	other threads:[~2002-03-18 22:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-18  5:59 labeling (was: partitioning (was: Future)) Christoph Grein
2002-03-18 22:52 ` Wes Groleau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-03-15  8:20 Christoph Grein
2002-03-13 13:55 Christoph Grein
2002-03-13 17:50 ` Wes Groleau
2002-03-15 16:07 ` Richard Riehle
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-13 13:42                                       ` labeling (was: partitioning (was: Future)) Wes Groleau
2002-03-14 12:46                                         ` Michal Nowak
2002-03-14 17:27                                           ` Wes Groleau
2002-03-14 20:27                                             ` Marin David Condic
2002-03-15  8:00                                         ` Tarjei T. Jensen
2002-03-15 15:10                                           ` Wes Groleau
replies disabled

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