comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: code partitioning (was: Future with Ada)
Date: 13 Mar 2002 05:50:03 -0600
Date: 2002-03-13T05:50:03-06:00	[thread overview]
Message-ID: <DPweFozQbILl@eisner.encompasserve.org> (raw)
In-Reply-To: mailman.1015999862.11331.comp.lang.ada@ada.eu.org

In article <mailman.1015999862.11331.comp.lang.ada@ada.eu.org>, Christoph Grein <christoph.grein@eurocopter.com> writes:
>> From: Wes Groleau <wesgroleau@despammed.com>
>>    case Animal is
>         snip
>>    end case (Animal);   -- yet another way of
>>                         -- naming a case statement
> 
> Nonono
> 
> case [expression] is
>   ...
> end case;
> 
> So how about
> 
> case Some*weird*and/long+expression is
>   ...
> end case Some*weird*and/long+expression;

I prefer:

	case Some*weird*and/long+expression is
	  ...
	end case;	-- Some*weird*and/long+expression

since it requires no vendor action and I have resigned myself to
the fact that successful programming can never be entirely devoid
of self-discipline.

I have found that so long as _every_ end case has such a comment,
I am unlikely to get them interchanged.



  reply	other threads:[~2002-03-13 11:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13  6:09 code partitioning (was: Future with Ada) Christoph Grein
2002-03-13 11:50 ` Larry Kilgallen [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2002-03-14  5:41 Christoph Grein
2002-03-16 15:46 ` Jacob Sparre Andersen
2002-03-17 13:19 ` Nick Williams
2002-03-17 19:41   ` Robert A Duff
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