comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Limited_Controlled, orthogonality and related issues
Date: Fri, 19 Jan 2007 10:29:35 -0500
Date: 2007-01-19T10:29:35-05:00	[thread overview]
Message-ID: <wccvej3m3vk.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: eoned5$663$1@cernne03.cern.ch

Maciej Sobczak <no.spam@no.spam.com> writes:

> So, my simple decision to make T and S controlled required:
>
> 1. Changing the signatures of Do_The_Job and gazillion of similar
> subprograms.
> 2. Adding the tagged keyword in the public view for T and S.
>
> In conclusion, my decision to make T and S controlled appeared to not be
> orthogonal to the rest of the package.

I really can't get too excited about the fact that a change to the
package required other changes to the same package.  If you said
that clients had to change, that would be a much bigger problem.

Possible solutions:

Allow 'Class on untagged types.

Use special syntax to distinguish dispatching operations.

Make all types tagged.  For efficiency, this would require a different
run-time model than what Ada compilers currently do -- you don't want
to store a tag field with every Boolean variable!  To enable the
non-stored-tag model, eliminate the rule that all tagged parameter
are aliased (and allow "aliased" keyword).

None of the above are likely to happen, I suspect.

- Bob



  parent reply	other threads:[~2007-01-19 15:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18  9:24 Limited_Controlled, orthogonality and related issues Maciej Sobczak
2007-01-18 12:00 ` Ludovic Brenta
2007-01-18 12:33   ` AW: " Grein, Christoph (Fa. ESG)
2007-01-18 16:25   ` Robert A Duff
2007-01-18 17:02 ` Adam Beneschan
2007-01-18 17:16   ` Adam Beneschan
2007-01-19  1:02     ` Robert A Duff
2007-01-19  7:38       ` Maciej Sobczak
2007-01-19  9:05     ` Dmitry A. Kazakov
2007-01-19 17:04       ` Adam Beneschan
2007-01-19  1:01   ` Robert A Duff
2007-01-19  9:57   ` Stephen Leake
2007-01-18 19:03 ` Jeffrey Carter
2007-01-19  7:48 ` Randy Brukardt
2007-01-19 16:46   ` Adam Beneschan
2007-01-19 15:29 ` Robert A Duff [this message]
2007-01-19 16:31   ` Dmitry A. Kazakov
2007-01-19 16:36     ` Robert A Duff
2007-01-19 18:26       ` Dmitry A. Kazakov
2007-01-19 20:17         ` Robert A Duff
2007-01-20 10:14           ` Dmitry A. Kazakov
2007-01-20 14:44             ` Robert A Duff
replies disabled

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