From: "Andrew Carroll" <andrew@carroll-tech.net>
To: <comp.lang.ada@ada-france.org>
Subject: Modes (was unbounded_string)
Date: Fri, 10 Oct 2003 04:58:53 -0600
Date: 2003-10-10T04:58:53-06:00 [thread overview]
Message-ID: <mailman.61.1065782424.25614.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: 20031010094017.680474C40C1@lovelace.ada-france.org
> Message: 7
> Date: Fri, 10 Oct 2003 11:15:27 +0200
> From: Dmitry A. Kazakov <mailbox@dmitry-kazakov.de>
> Subject: Re: Modes (was unbounded_string)
> To: comp.lang.ada@ada-france.org
> Message-ID: <htqcov8rj5v1ii4aiad48sso0dhj0glcan@4ax.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Fri, 10 Oct 2003 02:27:19 -0600, "Andrew Carroll"
> <andrew@carroll-tech.net> wrote:
>
[snip]
> The rule of thumb is: newer use pointers if there is an alternative.
> So:
[snip]
>Thus another rule: if a pointer, then when possible anonymous:
> procedure Add (This: access X; Token: Unbounded_String);
> -- This will be a primitive subprogram of X
>
[snip]
> The Ada way is not to create objects you do not need.
Okay, so now we're getting to the information I want to know.
The "rules of thumb" for the "Ada idiom". Anyone got a list of
"standardized rules of thumb for the Ada idiom"?
next parent reply other threads:[~2003-10-10 10:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20031010094017.680474C40C1@lovelace.ada-france.org>
2003-10-10 10:58 ` Andrew Carroll [this message]
[not found] <20031010074015.761204C40C1@lovelace.ada-france.org>
2003-10-10 8:27 ` Modes (was unbounded_string) Andrew Carroll
2003-10-10 9:15 ` Dmitry A. Kazakov
2003-10-11 7:16 ` Simon Wright
2003-10-13 9:28 ` Dmitry A. Kazakov
2003-10-10 15:18 ` Stephen Leake
2003-10-10 16:21 ` Martin Dowie
2003-10-14 18:47 ` Craig Carey
2003-10-10 19:06 ` Jeffrey Carter
2003-10-13 9:33 ` Dmitry A. Kazakov
2003-10-13 9:40 ` Stephane Richard
2003-10-13 10:12 ` Dmitry A. Kazakov
2003-10-15 2:16 ` Warren W. Gay VE3WWG
2003-10-15 3:36 ` Jeff C,
2003-10-16 16:45 ` Warren W. Gay VE3WWG
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox