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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fecaa8a6ce69590e X-Google-Attributes: gid103376,public From: bscrawford@aol.com (BSCrawford) Subject: Re: Abstract Data Types (and a question) Date: 1998/11/25 Message-ID: <19981125095026.27055.00001261@ngol02.aol.com>#1/1 X-Deja-AN: 415541949 References: <365BD117.3EAE@imag.fr> X-Admin: news@aol.com Organization: AOL http://www.aol.com Newsgroups: comp.lang.ada Date: 1998-11-25T00:00:00+00:00 List-Id: robinsoj@my-dejanews.com wrote: > I was reading about Ada's Abstract Data Types in Feldman and Koffman's > book and it reminded me of Object Oriented Programming. Am I > corrected is assuming there are similarities between Abstract Data > Types and OOP? If so, what are the similarities? I like to think of OOP as a set of concepts to be understood in the following three steps: 1. The notion that a program is conceptualized as a collection of interacting objects. Each object encapsulates internal data and exports (provides to clients) operations on the data. 2. The notion of an abstract data type (ADT) -- a class of similar objects, each of which is an instance of the ADT. 3. The notion of class-extension or inheritance, in which new sub-classes are derived from the root class or ADT. So, yes, your assumption is correct. The ADT concept is the important middle step of the three. Bard Crawford Stage Harbor Software