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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa2cc518ef3b992c X-Google-Attributes: gid103376,public From: Charles Hixson Subject: Re: tagged types extensions - language design question Date: 2000/01/28 Message-ID: <3891B5B3.7430F96B@earthlink.net>#1/1 X-Deja-AN: 578783351 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-ELN-Date: Fri Jan 28 07:29:02 2000 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 949073342 198.94.156.19 (Fri, 28 Jan 2000 07:29:02 PST) Organization: EarthLink Network, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Fri, 28 Jan 2000 07:29:02 PST Newsgroups: comp.lang.ada Date: 2000-01-28T00:00:00+00:00 List-Id: Matthew Heaney wrote: > In article , "Vladimir Olensky" > wrote: > > >>Why don't you just declare these types in separate packages? > > > > This is : > > 1. an additional step > > 2. an additional package > > 3. an additional level of inheritance. > > But you'd have the "additional package" in other OOP languages too. In > another language you'd have to declare two "classes," which means two > modules. Same as Ada. (Although I think you can nest classes in C++, > right?) > My understanding of Eiffel (not the greatest!) is that it would handle THIS PROBLEM gracefully in one step. My problem with it is the lack of control over direct (random access) I/O.