From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ada 'hello world' for Android; success!
Date: Mon, 7 Nov 2011 21:56:17 -0600
Date: 2011-11-07T21:56:17-06:00 [thread overview]
Message-ID: <j9a994$k7u$1@munin.nbi.dk> (raw)
In-Reply-To: wccpqhapgr5.fsf@shell01.TheWorld.com
"Robert A Duff" <bobduff@shell01.TheWorld.com> wrote in message
news:wccpqhapgr5.fsf@shell01.TheWorld.com...
> Stephen Leake <stephen_leake@stephe-leake.org> writes:
>
>> But in general, the 'super' keyword in Java is a nice feature. There has
>> been discussion of adding that feature to Ada; I forget what the problem
>> was that ended up killing it.
>
> I don't remember, either. I can't think of any fatal flaws right now.
It wasn't really killed, it's just useless. (I.e., we have Parent_Tag in
package Ada.Tags, there just isn't a way to use that tag to directly control
dispatching. *That* we tried to do, but the solutions were all considered
heavy and not likely to be used. We ended up with the more specialized
generic dispatching constructor.)
> You would need to deal with the fact that a private type can have
> a different parent from the corresponding full type.
A private type doesn't have a parent, it has an "ancestor". That's probably
what killed any high-level feature (Ada.Tags ignores privacy, of course,
it's a runtime thing). There isn't any reasonable way to define the "parent"
of a private type, and it would be trouble to have the result of T'Parent to
be different depending on visibility.
Randy.
next prev parent reply other threads:[~2011-11-08 3:56 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 1:18 Ada 'hello world' for Android; success! Stephen Leake
2011-10-27 7:12 ` Alex R. Mosteo
2011-10-28 12:51 ` Stephen Leake
2011-10-27 10:50 ` Jeffrey Creem
2011-10-28 13:01 ` Stephen Leake
2011-10-27 10:58 ` Brian Drummond
2011-10-28 1:37 ` Shark8
2011-10-28 12:22 ` Anatoly Chernyshev
2011-10-29 13:37 ` Stephen Leake
2011-10-29 14:46 ` Anatoly Chernyshev
2011-10-29 20:47 ` Brad Moore
2011-10-29 21:59 ` Anatoly Chernyshev
2011-10-30 3:51 ` Brad Moore
2011-10-30 7:20 ` Anatoly Chernyshev
2011-10-30 10:56 ` Stephen Leake
2011-10-30 17:32 ` Brad Moore
2011-10-29 15:32 ` Georg Bauhaus
2011-10-29 16:09 ` Simon Wright
2011-10-29 17:32 ` tmoran
2011-10-30 11:38 ` Stephen Leake
2011-10-29 20:51 ` Brad Moore
2011-10-30 11:32 ` Stephen Leake
2011-10-31 22:34 ` Randy Brukardt
2011-11-01 8:41 ` Stephen Leake
2011-11-01 9:30 ` Georg Bauhaus
2011-11-02 15:55 ` Stephen Leake
2011-11-02 17:37 ` Robert A Duff
2011-11-08 3:56 ` Randy Brukardt [this message]
2011-11-03 0:37 ` Georg Bauhaus
2011-11-03 11:36 ` Stephen Leake
2011-11-03 15:24 ` Robert A Duff
2011-11-03 18:43 ` Pascal Obry
2011-11-03 22:14 ` Georg Bauhaus
2011-11-04 8:48 ` Dmitry A. Kazakov
2011-11-04 12:18 ` Stephen Leake
2011-11-04 15:03 ` Georg Bauhaus
2011-11-05 16:56 ` Stephen Leake
2011-11-01 9:52 ` Dmitry A. Kazakov
2011-11-02 15:59 ` Stephen Leake
2011-11-02 16:27 ` Dmitry A. Kazakov
2011-11-02 17:38 ` Simon Wright
2011-11-10 17:25 ` Stephen Leake
2011-11-27 15:18 ` mockturtle
2011-11-28 22:35 ` Ada 'hello world' for Android; success! (but music player failure) Stephen Leake
2011-11-29 11:23 ` Georg Bauhaus
2011-11-30 3:33 ` Stephen Leake
2011-11-30 18:57 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox