Elliotte Rusty Harold personal blog

A Square Is Not A Rectangle

The following example, taken from an introductory text in object oriented programming, demonstrates a common flaw in object oriented design. Can you spot it?
Points
67
HN comments
66
Submissions
1
Cited by
0 commenters

Software Engineering2009

On Hacker News

SubmittedTitle on HNPointsComments
Sep 14, 2009A Square Is Not A Rectangle by raganwald6766

More from Elliotte Rusty Harold

All 2 posts →

Related posts from the same era