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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fce663eaf40b52f6 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn52feed!worldnet.att.net!207.217.77.102!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Manifesto against Vector References: <99cf7c.293.ln@skymaster> In-Reply-To: <99cf7c.293.ln@skymaster> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8sQmc.11414$V97.6807@newsread1.news.pas.earthlink.net> Date: Fri, 07 May 2004 18:20:52 GMT NNTP-Posting-Host: 63.184.104.150 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1083954052 63.184.104.150 (Fri, 07 May 2004 11:20:52 PDT) NNTP-Posting-Date: Fri, 07 May 2004 11:20:52 PDT Xref: controlnews3.google.com comp.lang.ada:374 Date: 2004-05-07T18:20:52+00:00 List-Id: Jean-Pierre Rosen wrote: > > But you don't depend logically on something that you don't with. With > tagged types, you are really calling an implementation (in another > package) of something that you depend on - which is defined in a > package that you have withed. To my way of thinking, you depend on any types you may have objects of and anything you may invoke. A derived type is not the same type as its parent, nor are its operations the same as its parent's operations. Since type extension is a form of type derivation, I apply the same rules to type extension that I did to type derivation in Ada 83: the parent must be either a predefined type, or a type declared in the same declarative region as the child. Anything else quickly becomes unreadable. -- Jeff Carter "Beyond 100,000 lines of code you should probably be coding in Ada." P. J. Plauger 26