Re: Comparing DS_HASH_TABLE objects
"Franck Arnaud" <[email protected]> Mon, 08 Jun 2009 02:36:42 +0100
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
> But why have different operators of object equality and reference > equality in the first place? Why not > > a = b -- test for object equality > $a = $b -- test for address equality (i.e. reference equality) > > since we have already the address operator in Eiffel? because you're leaking implementation, the concept of reference equality is way more essential to the OO model (even if not essential enough to warrant hijacking the "=" sign ideally) than the address operator (which shouldn't be an operator at all IMHO) -- it is an artefact of the "external" facility, which is conceptually auxiliary to the core model. ------------------------------------ To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected]! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gobo-eiffel/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/gobo-eiffel/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/