On Friday, July 13, 2012 03:15:41 Mehrdad wrote: > On Friday, 13 July 2012 at 01:10:16 UTC, Mike Parker wrote: > > Again, it's a matter of choice. You can always choose to use a > > particular library, alternative, or implement your own > > solution. How to you choose *not* to derive your classes from > > Object? > > You mean, "how do you choose *not* to use opEquals()?"?
Yes. Restrictions placed on Object affect _everyone_ using the language, whereas restrictions placed on a particular library only affect the users of that library. So, Object needs to be able to work without forcing const on anyone using it, whereas a 3rd library doesn't necessarily need to. - Jonathan M Davis