comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Ripple effect
Date: 05 Sep 2006 12:28:56 -0400
Date: 2006-09-05T12:28:56-04:00	[thread overview]
Message-ID: <wcclkoyb7lj.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: apkh8ixcr085.1n4nke0eagzuh.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> You don't need it, if the language offers constructs to handle namespaces,
> especially to compose them out of existing ones. Then you could merge
> specifications of several packages into a new specification and re-use it
> where needed. 

It would certainly be useful to be able to say "package X exports
everything declared in packages A, B, C, and D", in a maintainable way
(so that if you add something to A it automatically appears in X).
Ada allows renaming, but that's unmaintainable, because you have to
rename each thing separately.  Ada also allows derived types, which
automatically suck in the primitive ops, but that doesn't work for
generics, exceptions, etc, and it breaks when you have two related
types.

- Bob



  reply	other threads:[~2006-09-05 16:28 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 22:29 Ripple effect Jeffrey R. Carter
2006-08-24  9:21 ` Maciej Sobczak
2006-08-24 23:39   ` Jeffrey R. Carter
2006-08-25  7:03     ` Maciej Sobczak
2006-08-24 18:22 ` Adam Beneschan
2006-08-24 23:40   ` Jeffrey R. Carter
2006-09-04 13:52 ` Robert A Duff
2006-09-04 15:15   ` Jeffrey R. Carter
2006-09-04 18:06     ` Robert A Duff
2006-09-05  2:33       ` Jeffrey R. Carter
2006-09-05  7:23         ` Dmitry A. Kazakov
2006-09-05 16:28           ` Robert A Duff [this message]
2006-09-05 16:23         ` Robert A Duff
2006-09-05 21:36           ` Jeffrey R. Carter
2006-09-07 18:18             ` Robert A Duff
2006-09-08 22:02               ` Jeffrey R. Carter
2006-09-06  0:10           ` Randy Brukardt
2006-09-07 18:30             ` Robert A Duff
2006-09-07 21:21               ` Simon Wright
2006-09-08  2:08               ` Randy Brukardt
2006-09-09 14:55             ` adaworks
2006-09-05 23:52         ` Randy Brukardt
2006-09-07 19:09   ` Adam Beneschan
2006-09-07 19:21     ` Ed Falis
2006-09-07 19:46       ` Larry Kilgallen
2006-09-08 13:06         ` Ed Falis
replies disabled

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