From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: ASCL project on AdaPower.net
Date: Sun, 2 Dec 2001 11:37:13 +0000 (UTC)
Date: 2001-12-02T11:37:13+00:00 [thread overview]
Message-ID: <slrna0k4eo.r5.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: uvgfpc2pu.fsf@wanadoo.fr
On 02 Dec 2001 11:53:49 +0100, Pascal Obry wrote:
> Or (RM style)
>
> function Cursor_Index (Source : in Bounded_List;
> Cursor : in Cursor_Number := 1;
> Facing : in Direction := Forward)
> return Natural;
I would say I like this style most (hmm I'll start using it myself too)
as it is easy to see what the function returns and which arguments are
needed in just a quick glance.
> Or more GNATish style:
>
> function Cursor_Index
> (Source : in Bounded_List;
> Cursor : in Cursor_Number := 1;
> Facing : in Direction := Forward)
> return Natural;
I don't like this much as it is harder or read fast.
Preben
--
�For me, Ada95 puts back the joy in programming.�
next prev parent reply other threads:[~2001-12-02 11:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-02 5:56 ASCL project on AdaPower.net Nick Roberts
2001-12-02 10:53 ` Pascal Obry
2001-12-02 11:37 ` Preben Randhol [this message]
2001-12-02 12:23 ` Preben Randhol
2001-12-02 17:55 ` Jeffrey Carter
2001-12-03 21:23 ` Nick Roberts
2001-12-04 2:39 ` Jeffrey Carter
2001-12-06 17:56 ` Nick Roberts
2001-12-03 14:56 ` Ted Dennison
2001-12-03 16:54 ` Larry Kilgallen
2001-12-03 18:59 ` Ted Dennison
2001-12-03 21:27 ` Nick Roberts
2001-12-10 16:12 ` Marin David Condic
2001-12-03 15:49 ` Ted Dennison
2001-12-03 22:29 ` Jeffrey Carter
2001-12-04 14:50 ` Ted Dennison
2001-12-04 16:01 ` Jeffrey Carter
2001-12-04 17:20 ` Ted Dennison
2001-12-04 20:43 ` Stephen Leake
2001-12-04 20:41 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox