Tuesday, June 28, 2011

Only two years behind

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.

No comments:

Post a Comment