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.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,8b8748382fcfacc1 X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: friend classes in ada95 Date: 2000/04/20 Message-ID: <8dmj62$4i7$1@wanadoo.fr>#1/1 X-Deja-AN: 613512136 References: <8dh37m$qef$2@wanadoo.fr> <3B5L4.1317$B43.116109@news.pacbell.net> <38FD1830.949F5E81@mindspring.com> <38FD1C9E.7C2B7756@research.canon.com.au> <8dldqi$mb7$1@nnrp1.deja.com> <38FE365D.31C893A6@acm.org> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 956223490 4679 193.250.160.81 (20 Apr 2000 09:38:10 GMT) Organization: Adalog X-MSMail-Priority: Normal NNTP-Posting-Date: 20 Apr 2000 09:38:10 GMT Newsgroups: comp.lang.ada Date: 2000-04-20T09:38:10+00:00 List-Id: Ray Blaak a �crit dans le message : m3hfcxjt22.fsf@ns58.infomatch.bc.ca... > OO programming being essentially about ADTs covers the most important and > worthwhile point. What makes OO programming different from ADTs, in least in my > opinion, is language support for inheritance and polymorphism. Certainly not. What you describe is classification, which is one way of organizing objects. Composition is another one, and there might be others to be invented. I would rather say that what makes OO is the fact that ADT's represent and are modelled after real-life objects, i.e. that a program is no more defined as a sequence of actions to be performed by a computer, but as a representation, a modelization, of the real world. FWIW. -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog