I was going to comment that the "Square object is not a Rectangle object" problem is solved by using immutable objects, an insight I had on this evening's commute home, but others have beaten me to it. And more eloquently than I would be.
There is one here, and another one here.
On the other hand, I'm still happy that I had the insight.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment