comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: A novel design of linked lists
Date: Wed, 20 Sep 2006 10:44:31 +0200
Date: 2006-09-20T10:44:31+02:00	[thread overview]
Message-ID: <5r3yebdje7ab.1aha6uewbma0r.dlg@40tude.net> (raw)
In-Reply-To: 4510723B.8040303@nowhere.com

On Wed, 20 Sep 2006 00:42:03 +0200, Leif Holmgren wrote:

> Dmitry A. Kazakov wrote:
>> 
>> 1. The variant with inheritance is not an option in current Ada, because of
>> ...
>> 
>> 2. The variant with pointers is not a solution at all, because, honestly,
>> ...
> 
> 3. Generics

There is no generic types in Ada. Then, essentially, genericity does not
provide any types composition. So here generic could only mean
parametrization of some non-generic type composition:

- extension by inheritance (that was 1)
- indirection (that was 2)

There also is aggregation which wasn't mentioned for obvious reasons.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



      reply	other threads:[~2006-09-20  8:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-19 13:30 A novel design of linked lists (was: Address of an object) Dmitry A. Kazakov
2006-09-19 20:09 ` Adam Beneschan
2006-09-20  8:35   ` A novel design of linked lists Dmitry A. Kazakov
2006-09-20 17:13     ` Adam Beneschan
2006-09-21  8:22       ` Dmitry A. Kazakov
2006-09-19 22:42 ` A novel design of linked lists (was: Address of an object) Leif Holmgren
2006-09-20  8:44   ` Dmitry A. Kazakov [this message]
replies disabled

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