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 Xref: utzoo comp.object:2735 comp.lang.ada:4965 Path: utzoo!news-server.csri.toronto.edu!rutgers!ucla-cs!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!think.com!linus!linus!linus!mbunix!eachus From: eachus@aries.mitre.org (Robert I. Eachus) Newsgroups: comp.object,comp.lang.ada Subject: Re: ada-c++ productivity Message-ID: Date: 15 Mar 91 01:00:50 GMT References: <1991Mar7.163106.29477@wdl1.wdl.loral.com> <1991Mar10.151220.2581@forwiss.uni-passau.de> <11966@pasteur.Berkeley.EDU> Sender: news@linus.mitre.org (News Service) Distribution: usa Organization: The Mitre Corp., Bedford, MA. In-Reply-To: jbuck@galileo.berkeley.edu's message of 13 Mar 91 23:12:21 GMT Nntp-Posting-Host: aries.mitre.org List-Id: In article <11966@pasteur.Berkeley.EDU> jbuck@galileo.berkeley.edu (Joe Buck) writes: C++ and Eiffel are full object-oriented languages; Ada is not.... [lots deleted] "A language is object-oriented if and only if it satisfies the following requirements: - It supports objects that are data abstractions with an interface of named operations and a hidden local state - Objects have an associated type (class) - Types (classes) may inherit attributes from supertypes (superclasses)" Ada lacks attribute #3 and is therefore not an object-oriented language. Languages that satisfy the first two clauses but not the third are called by Cardelli and Wegner "object-based" languages; Ada is an object-based language. C++ satisfies all three attributes... [more deleted] I guess you never heard of (Ada) derived types? There are some problems with using derived types to implement Smalltalk like class heirarchies, these are being addressed in Ada 9X. There are also people like me who prefer to build class heirarchies using generics, and you build such heirarchies in a much different fashion than in Smalltalk, but Ada is definitely an OOP. Now if you want to argue about whether multiple inheritance in Ada (or any language) is a good idea, that is subject to debate. -- Robert I. Eachus with STANDARD_DISCLAIMER; use STANDARD_DISCLAIMER; function MESSAGE (TEXT: in CLEVER_IDEAS) return BETTER_IDEAS is...