comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adambeneschan@gmail.com>
Subject: Re: Ada 2005 Language Designer
Date: Wed, 8 Oct 2014 11:30:58 -0700 (PDT)
Date: 2014-10-08T11:30:58-07:00	[thread overview]
Message-ID: <6168abe0-23f3-4190-a405-ffd28d9e490a@googlegroups.com> (raw)
In-Reply-To: <m13rcd$c6d$1@dont-email.me>

On Wednesday, October 8, 2014 10:13:52 AM UTC-7, Jeffrey Carter wrote:
> On 10/08/2014 07:16 AM, David Botton wrote:
> 
> > 
> 
> > As per a previous thread, not having Object.Method really hurt Ada at a time
> > when it needed it, now it is an uphill battle to get application developers
> > to look at it seriously again. IMO.
> 
> Ada has always had Object.Operation notation, as long as Object was a pkg or task.

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.

(A task is an object, of course; and so is a protected object, which Ada 95 did provide.)

                                 -- Adam


  parent reply	other threads:[~2014-10-08 18:30 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 [this message]
2014-10-08 20:35       ` Jeffrey Carter
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