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: border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Ada 2005 Language Designer Date: Wed, 08 Oct 2014 13:35:34 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <6168abe0-23f3-4190-a405-ffd28d9e490a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 8 Oct 2014 20:35:35 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="206f88a41f45fc94d25d07d064d738e2"; logging-data="19441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nxEM3BhuQJaVljdI0Z75GUl88G4bUj98=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 In-Reply-To: <6168abe0-23f3-4190-a405-ffd28d9e490a@googlegroups.com> Cancel-Lock: sha1:sCwNLXSRj1AniYs7D13x7bHm7Gg= Xref: number.nntp.giganews.com comp.lang.ada:189561 Date: 2014-10-08T13:35:34-07:00 List-Id: On 10/08/2014 11:30 AM, Adam Beneschan wrote: > > A package is not an object, neither in the sense defined by the Ada RM nor in > any other relevant sense. You can't create multiple instances of it. And > being able to create a variable object (or constant object, or expression > that produces an object) and use the dot-notation to call an operation of > that object is one of the things programmers came to expect of OO languages > that Ada 95 didn't give them; Package.Operation notation is not close to the > same thing. Pkg as object was a standard technique for implementing OO designs in Ada 83, in which a pkg represented an object in the design. Multiple instances were sometimes implemented as instantiations of a parameterless generic pkg. That seems like a relevant sense of "object" to me. Of course, you couldn't have components of such things, so they clearly weren't objects in the Ada sense. -- Jeff Carter "I would never want to belong to any club that would have someone like me for a member." Annie Hall 41