comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Problems with 'class, help anyone?
Date: Thu, 7 Nov 2002 15:07:56 GMT
Date: 2002-11-07T15:07:56+00:00	[thread overview]
Message-ID: <wccr8dxbepf.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 3DC91DBB.C85F27E@brighton.ac.uk

John English <je@brighton.ac.uk> writes:

> Robert A Duff wrote:
> > 
> > Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> writes:
> > 
> > > But in _my_ style guide (and some others), leaving out the "in"
> > > (relying on the default) is forbidden.
> > 
> > I think the "in" should *always* be left out.  It's just noise.
> 
> I leave it out for functions (where it's the only possibility -- well,
> it was in Ada 83 anyway) and put it in explicitly for procedures where
> there is a choice of possible modes.

Yeah, I've seen that style before.  The reason I don't like it is that
IMHO the rule about no out params in functions is a kludge, and I don't
want to base my style on a kludge.  They shouldn't be called
"functions",  either -- they are procedures that happen to return a
value.

Anyway, clearly folks could argue about this forever.  And it's a simple
enough issue that *everybody* can have an opinion.  IMHO it would have
been better if Jean Ichbiah had decided on one particulary style,
and enforced it in the syntax.  There is absolutely no value in having
some people use 'in' and some not (and some sometimes).

- Bob



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

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29  4:48 Problems with 'class, help anyone? 
2002-10-29  6:08 ` Jim Rogers
2002-10-29 19:10   ` 
2002-10-30  5:27   ` 
2002-10-30  7:49     ` Simon Wright
2002-10-30  8:13     ` Jim Rogers
2002-11-02  4:02       ` 
2002-11-05  2:40       ` 
2002-11-05  4:56         ` Jim Rogers
2002-11-05 17:25           ` Stephen Leake
2002-11-05 22:29             ` Robert A Duff
2002-11-06  8:54               ` Pascal Obry
2002-11-06 15:00                 ` Georg Bauhaus
2002-11-06 17:18                   ` Stephen Leake
2002-11-07 14:14                     ` Georg Bauhaus
2002-11-06 15:19                 ` Ted Dennison
2002-11-06 17:22                   ` Stephen Leake
2002-11-07 10:32                     ` Preben Randhol
2002-11-07 15:53                       ` Stephen Leake
2002-11-06 13:48               ` John English
2002-11-07 15:07                 ` Robert A Duff [this message]
2002-11-08  9:48                   ` Dmitry A. Kazakov
2002-11-08 13:44                     ` Robert A Duff
2002-11-08 14:27                       ` Jean-Pierre Rosen
2002-11-09 18:40                       ` Dmitry A. Kazakov
2002-11-11  9:51                         ` Lutz Donnerhacke
2002-11-11 13:24                           ` Dmitry A. Kazakov
2002-11-11 13:55                             ` Lutz Donnerhacke
2002-11-09 19:02                       ` Robert A Duff
2002-11-10 17:13                         ` Dmitry A. Kazakov
  -- strict thread matches above, loose matches on Subject: below --
2002-11-09  0:11 Alexandre E. Kopilovitch
2002-11-11  9:03 Grein, Christoph
2002-11-11 15:12 Alexandre E. Kopilovitch
2002-11-12 12:20 ` Dmitry A. Kazakov
replies disabled

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