From: Ivan Levashew <octagram@bluebottle.com>
Subject: Re: Interfaces and abstract tagged types
Date: Thu, 16 Oct 2008 00:51:53 -0700 (PDT)
Date: 2008-10-16T00:51:53-07:00 [thread overview]
Message-ID: <c83a1b3b-298f-4aa3-9974-aa7b8153dc15@c22g2000prc.googlegroups.com> (raw)
In-Reply-To: mshb6m8vcpzn$.17hq7rvpyycxb.dlg@40tude.net
>
> >> (Interfaces was a huge mistake)
>
> > Interesting. Why do you say so?
>
> Because there already existed abstract types for
> that. One should simply
> have allowed honest multiple inheritance.
>
> The limitation of not having any implementations of
> primitive operations or
> component makes just no sense.
I'm wondering why nobody has replied yet.
I think it to be a known thing. Interfaces are by definition
implementation-less. A bindable implementation of interface is called
adaptor. In Ada 2005, adaptors are mapped to generic mix-ins.
See Case 2 here:
http://www.adaic.org/learn/tech/multin.html
The only difference with Ada 2005 is that mix-ins were unable to be
adaptors in Ada 95 (there was no interfaces).
next prev parent reply other threads:[~2008-10-16 7:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-05 7:01 Interfaces and abstract tagged types Dale Stanbrough
2008-10-05 7:43 ` Dmitry A. Kazakov
2008-10-05 20:29 ` Robert A Duff
2008-10-06 8:25 ` Dmitry A. Kazakov
2008-10-16 7:51 ` Ivan Levashew [this message]
2008-10-16 8:29 ` Dmitry A. Kazakov
2008-10-16 9:23 ` Ivan Levashew
2008-10-16 10:05 ` Dmitry A. Kazakov
2008-10-16 10:27 ` Georg Bauhaus
2008-10-16 12:21 ` Dmitry A. Kazakov
2008-10-16 13:35 ` Georg Bauhaus
2008-10-16 14:30 ` Dmitry A. Kazakov
2008-10-23 6:39 ` Ivan Levashew
2008-10-25 8:57 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox