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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: was Ada 83 in fact object oriented ? Date: Mon, 5 Oct 2015 11:28:47 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <79ba2b75-a27a-4684-a48b-88fe91f86b3e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 5 Oct 2015 18:26:48 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="5f712d38494dbb84b962c77c0cdaaf11"; logging-data="13644"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/r2e571S+n9C4WfBr3XybBqZzHMH2GTOw=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <79ba2b75-a27a-4684-a48b-88fe91f86b3e@googlegroups.com> Cancel-Lock: sha1:Tplrx5EuSpZKAVntnJ4SomYX/0g= X-Enigmail-Draft-Status: N1110 Xref: news.eternal-september.org comp.lang.ada:27912 Date: 2015-10-05T11:28:47-07:00 List-Id: On 10/05/2015 05:12 AM, Vincent wrote: > > 1. Encapsulation of data and operations that manipulates that data into a > source code module that reflects the abstractions (the concepts) of the > problem. Ada 83 does this well. > > 2. Classes of types, with a common interface, each of which encapsulates an > abstraction, to promote direct reuse of executable code (in fact the > caller). This contains the ideas of interfaces, virtual methods and so on. > Ada 2005 does this, but I thing it could have been designed better, even if > Ada 2005 corrected some of the worst flaws of Ada 95. > > 3. Machines exchanging messages as abstract syntax trees. Only LISP, Smalltalk > and Objective C do this. But I personnaly find odd the idea of Objects > exchanging messages. If they "speak" shouldn't they be called "subjects" or > "agents" or "actors" ? You see here the difference between things called "object oriented" because they developed from thinking about objects and what role they play in the problem and solution space, and things that have nothing to do with objects but were so called because "object oriented" had become a buzzword meaning "good", much as in earlier days things were called "structured" because "structured" had become a buzzword meaning "good". -- Jeff Carter "I was hobbling along, minding my own business, all of a sudden, up he comes, cures me! One minute I'm a leper with a trade, next minute my livelihood's gone! Not so much as a 'by your leave!' You're cured, mate. Bloody do-gooder!" Monty Python's Life of Brian 76