From: Dmitry A. Kazakov <mailbox@dmitry-kazakov.de>
Subject: Re: Visibility problems with package instantiations.....
Date: Mon, 01 Dec 2003 09:58:47 +0100
Date: 2003-12-01T09:58:47+01:00 [thread overview]
Message-ID: <b9vlsvgtq4mno30llumrfs7up8dv10hg9e@4ax.com> (raw)
In-Reply-To: 95234e08.0311302345.4f9e235b@posting.google.com
On 30 Nov 2003 23:45:51 -0800, petter.fryklund@atero.se (Petter
Fryklund) wrote:
>Well 200 parameters was an overstatement trying to make a point. What
>I'm doing now is moving a way from child packages partly because when
>you reach level four,
In my present project I have dived down 5 levels of depth! (:-))
> the filenames becomes awfully long.
Egh, that should be no problem, if you aren't under MS-DOS.
But if you are eager to save keystrokes typing Ada code, then use
package renaming:
package ABCDEF renames A.B.C.D.E.F;
>And also,
>with two possible parents, which one should be choosen?
Both! However, unfortunately, Ada supports neither multiple parents
nor multiple inheritance. They are related things.
>Our CM policy
>also dictates a directory structure with every unit in it's own branch
>leading to a large tree.
It is a reasonable policy.
>So I'm now using the chain-saw strategy with
>generics. (I finally found a reasonable usage of unchecked conversion
>at level four.)
There are very limited number of cases where use of
Unchecked_Conversion could be reasonable. (:-))
>I still think that it would be nice to have a "box" syntax for
>parameters that aren't relevant.
If you are going to make an AI on generics and send it to ARG, then
add there
1. defaults for generic parameters;
2. a way to resolve conflicts in generic parameter names;
3. matching the actuals of generic subroutine with omitted default
parameters [It might be backward incompatible, as Christoph Grein
pointed];
4. generic formal dispatching subroutines;
5. generic dispatching subroutines;
. . .
666. automatic instantiations;
. . .
n. user-defined generic types
--
Regards,
Dmitry Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2003-12-01 8:58 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-27 15:42 Visibility problems with package instantiations Petter Fryklund
2003-11-27 16:33 ` Dmitry A. Kazakov
2003-11-28 11:23 ` Petter Fryklund
2003-11-28 13:17 ` Dmitry A. Kazakov
2003-12-01 7:45 ` Petter Fryklund
2003-12-01 8:58 ` Dmitry A. Kazakov [this message]
2003-12-01 16:31 ` Stephen Leake
2003-12-02 9:00 ` Dmitry A. Kazakov
2003-12-02 16:20 ` Stephen Leake
2003-12-03 8:37 ` Dmitry A. Kazakov
2003-12-03 18:09 ` Stephen Leake
2003-12-04 9:16 ` Dmitry A. Kazakov
2003-12-04 13:09 ` Stephen Leake
2003-12-04 14:03 ` Dmitry A. Kazakov
2003-12-04 19:24 ` Randy Brukardt
2003-12-05 0:30 ` Stephen Leake
2003-12-05 2:58 ` Randy Brukardt
2003-12-05 14:04 ` Stephen Leake
2003-12-05 12:14 ` Jeff C,
2003-12-05 13:13 ` Arnaud Charlet
2003-12-05 20:52 ` Randy Brukardt
2003-12-05 21:10 ` Simon Wright
2003-12-02 17:07 ` Jeffrey Carter
2003-12-03 8:49 ` Dmitry A. Kazakov
2003-12-02 4:25 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox