From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Ada 2005 Language Designer
Date: Wed, 08 Oct 2014 13:35:34 -0700
Date: 2014-10-08T13:35:34-07:00 [thread overview]
Message-ID: <m1476m$ivh$1@dont-email.me> (raw)
In-Reply-To: <6168abe0-23f3-4190-a405-ffd28d9e490a@googlegroups.com>
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
next prev parent reply other threads:[~2014-10-08 20:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 13:44 Ada 2005 Language Designer G.B.
2014-10-08 14:16 ` David Botton
2014-10-08 15:15 ` J-P. Rosen
2014-10-08 18:22 ` Adam Beneschan
2014-10-08 19:07 ` Dmitry A. Kazakov
2014-10-08 19:12 ` David Botton
2014-10-08 17:13 ` Jeffrey Carter
2014-10-08 17:17 ` David Botton
2014-10-08 18:30 ` Adam Beneschan
2014-10-08 20:35 ` Jeffrey Carter [this message]
2014-10-08 21:26 ` Adam Beneschan
2014-10-09 20:18 ` Shark8
2014-10-09 23:33 ` Peter Chapin
2014-10-09 20:14 ` Shark8
2014-10-09 1:07 ` brbarkstrom
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox