comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.invalid>
Subject: Re: Design of cross referring types/classes and proper usage of containers
Date: Thu, 6 Aug 2015 07:00:24 +0000 (UTC)
Date: 2015-08-06T07:00:24+00:00	[thread overview]
Message-ID: <mpv0m8$oeg$1@dont-email.me> (raw)
In-Reply-To: dkly76758tqn$.7uef3lfvbmvw$.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote:
> On Wed, 5 Aug 2015 10:51:36 -0700 (PDT), Serge Robyns wrote:
> 
>> Limited objects is one of these things I'm struggling getting my head
>> around.  I will need to (re)read about it to fully understand their
>> purpose as for now I perceive them as a pain.
> 
> Limited object is an object with an identity (inside its value). That is
> why you cannot copy it. It is neither a pain or bliss, just an aspect of
> design. Some things have identity some don't, you choose the type
> appropriately.

Invariable identity may be more suggestive.
Like Earth and Mars: you may change them,
but cannot change Mars to be like Earth
and then have it take Earth's place. That is,
Mars stays Mars no matter how you'd change it.

      reply	other threads:[~2015-08-06  7:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-03 16:08 Design of cross referring types/classes and proper usage of containers Serge Robyns
2015-08-03 16:14 ` Serge Robyns
2015-08-03 20:17   ` Georg Bauhaus
2015-08-03 16:22 ` Dmitry A. Kazakov
2015-08-04 11:43   ` Serge Robyns
2015-08-04 12:13     ` Dmitry A. Kazakov
2015-08-04 19:00       ` Serge Robyns
2015-08-04 19:20         ` Jeffrey R. Carter
2015-08-04 20:27         ` Randy Brukardt
2015-08-04 21:21         ` Simon Wright
2015-08-08 11:25           ` Serge Robyns
2015-08-09  3:11             ` Randy Brukardt
2015-08-09 13:33               ` Serge Robyns
2015-08-05  7:37         ` Dmitry A. Kazakov
2015-08-05 17:51           ` Serge Robyns
2015-08-05 19:21             ` Dmitry A. Kazakov
2015-08-06  7:00               ` Georg Bauhaus [this message]
replies disabled

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