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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa1a697e52242fbf X-Google-Attributes: gid103376,public From: Matthew Heaney Subject: Re: What's class? Date: 1999/02/24 Message-ID: #1/1 X-Deja-AN: 447960973 Sender: matt@mheaney.ni.net References: <7av8du$rjj$1@news.kornet.nm.kr> <7b184d$qh5$1@kpt1000.hitel.net> NNTP-Posting-Date: Wed, 24 Feb 1999 09:28:40 PDT Newsgroups: comp.lang.ada Date: 1999-02-24T00:00:00+00:00 List-Id: "Gyeongmoon Ryu" writes: > .......... > > I don't see things the same way... for the following reasons: > > A class is an implementation of an Types ( (such as tagged, record, > subprogram...) It specifies a data structure and the permissible > operational methods that apply to each of its objects) ) > > In the Ada, object types are implemented as PACKAGE. > > -- IF package = C++(class) -- FALSE or exception > -- IF package = OOP(class) -- TRUE ? I don no.. :( This is wrong. The term "class" in Ada has a very specific meaning, different from its use in other languages. It was the Ada-meaning of the term that the original poster was interested in. It is also untrue that, in Ada, a type is implemented as a package. In Ada, a type is implemented as a ... type!