Re: Object identity
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Mon, 26 Jun 2006 10:13:08 +0200
On Mon, 26 Jun 2006 06:16:31 GMT, Gabriel Claramunt wrote:
I have no problem at all with an interpretation not being 1-1. IMO it
is implicit in the nature of object identity (as distinct from value
semantics). However you will find lots of OO programmers who think
your code above is evil.
I will not say evil, I'll say extremely dangerous... in the same way,
nothing impedes you put 2 rows with the exact same data in a relational
table, but you will have a mess with the queries... is extremely dangerous
If you can do it <=> you have *an* identity.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- References:
- Object identity
- From: David Barrett-Lennard
- Re: Object identity
- From: Gabriel Claramunt
- Re: Object identity
- From: David Barrett-Lennard
- Re: Object identity
- From: Gabriel Claramunt
- Object identity
- Prev by Date: Re: Object identity
- Next by Date: Re: Let's put this to rest
- Previous by thread: Re: Object identity
- Next by thread: Re: Object identity
- Index(es):
Relevant Pages
|