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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,c890e6ab3fb2c5fc X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,c890e6ab3fb2c5fc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-18 09:47:41 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!gatech!udel!news.mathworks.com!panix!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody From: dewar@cs.nyu.edu (Robert Dewar) Newsgroups: comp.lang.ada,comp.lang.c++ Subject: Re: ADA Objects Help! Date: 18 Jan 1995 12:47:41 -0500 Organization: Courant Institute of Mathematical Sciences Message-ID: <3fjk7t$2km@gnat.cs.nyu.edu> References: <3f9g1u$j4m@nps.navy.mil> <3fcs59$70s@nps.navy.mil> <3ff186$c19@gnat.cs.nyu.edu> NNTP-Posting-Host: gnat.cs.nyu.edu Xref: nntp.gmd.de comp.lang.ada:18291 comp.lang.c++:87928 Date: 1995-01-18T12:47:41-05:00 List-Id: "why not packages and package types" why not indeed? it is always interesting to see people joining the party late and treading previously trodden realms :-) Yes, this is an attractive idea, one that some important Ada folks have championed, and which has been examined extensively. Basically the conclusion is that following this line of thought leads (a) to excessive complexity, it is very tricky to work out all the ramifications (b) to a confusion of concepts, packages are not happy extended in this direction, and it causes a confusion (unification???) of types and packages. The final decision of the Ada design is that this would have confused rather than unified. (c) the building of the OOP notions on top of derived types is much more powerful and general, and avoids some of the limitations that come from a narrow, distinguished object approach. Tuck may want to add to this, clearly a full answer will saturate the internet bandwidth for some time!