comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Object-Oriented style question
Date: Tue, 10 Jan 2012 11:27:16 +0100
Date: 2012-01-10T11:27:16+01:00	[thread overview]
Message-ID: <ua157aas67qq$.1v3i5rr32fo27$.dlg@40tude.net> (raw)
In-Reply-To: 36ee3b54-496c-41d4-a8ba-3357741adada@p4g2000vbt.googlegroups.com

On Tue, 10 Jan 2012 00:47:19 -0800 (PST), Maciej Sobczak wrote:

> On Jan 10, 12:58�am, Georg Bauhaus <rm-
> host.bauh...@maps.futureapps.de> wrote:
> 
>> The effect is that there still wouldn't be any parameters of an
>> anonymous access-to-object type at the level of T's definition.
> 
> Why this should be a goal?
> I prefer if the profile describes what is going on. If sh*t is going
> on, then it is better to show it in the profile than to hide it and
> surprise the user later.

I agree, if the referential semantics is a part of the contract, it must be
exposed, and hidden otherwise.

Furthermore, semantically

   procedure Foo (X : access T)

is not a method of T, it is one of access T. Objects of T and access T are
different objects of different types and different sets of operations
defined on them.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2012-01-10 10:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08 12:45 Object-Oriented style question Georg Bauhaus
2012-01-08 12:52 ` Simon Wright
2012-01-08 13:25   ` Dmitry A. Kazakov
2012-01-08 14:18 ` Robert A Duff
2012-01-08 20:32   ` Martin Dowie
2012-01-08 20:52     ` Robert A Duff
2012-01-09 22:34   ` Adam Beneschan
2012-01-09 23:21     ` Robert A Duff
2012-01-10  8:34     ` Dmitry A. Kazakov
2012-01-09  8:55 ` Maciej Sobczak
2012-01-09 23:58   ` Georg Bauhaus
2012-01-10  8:47     ` Maciej Sobczak
2012-01-10 10:27       ` Dmitry A. Kazakov [this message]
2012-01-10 12:27       ` Georg Bauhaus
2012-01-11  8:54         ` Maciej Sobczak
2012-01-10 21:26       ` Randy Brukardt
2012-02-08 12:23 ` Yannick Duchêne (Hibou57)
2012-02-08 12:39 ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox