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/02/01 Message-ID: <38970C27.5362779A@earthlink.net>#1/1 X-Deja-AN: 580395387 Content-Transfer-Encoding: 7bit References: <3891B5B3.7430F96B@earthlink.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-ELN-Date: Tue Feb 1 08:39:39 2000 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 949423179 198.94.156.19 (Tue, 01 Feb 2000 08:39:39 PST) Organization: EarthLink Network, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Tue, 01 Feb 2000 08:39:39 PST Newsgroups: comp.lang.ada Date: 2000-02-01T00:00:00+00:00 List-Id: Matthew Heaney wrote: > In article <3891B5B3.7430F96B@earthlink.net> , Charles Hixson > wrote: > > >> 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. > > I don't understand why everything has to be "done in one step." In > Ada95, you have to declare an intermediate (abstract) type, in order to > declare some attributes as public. It's really not that big a deal. > I can't speak for him (Vladimir Olensky) but my reason is so that I need to keep track of fewer names. I frequently pick up projects for short periods of time, and then put them down for several months before the next time that I pick them up. If I have to keep track of fewer names then I find it easier to reposition myself in the project. Of course, if anything was ever really completed, then the private sections would never need to be thought about again. This, however, doesn't seem to map well into my perceived reality.