From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,89cb2d7ffc7421c9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ripple effect Date: 05 Sep 2006 12:28:56 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1157473736 950 192.74.137.71 (5 Sep 2006 16:28:56 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 5 Sep 2006 16:28:56 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news2.google.com comp.lang.ada:6455 Date: 2006-09-05T12:28:56-04:00 List-Id: "Dmitry A. Kazakov" 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