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
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Sep 14, 2009 | A Square Is Not A Rectangle by raganwald | 67 | 66 |