Eric Lippert personal blog
Wizards and warriors, part one
A common problem I see in object-oriented design is: A wizard is a kind of player. A warrior is a kind of player. A staff is a kind of weapon. A sword is a kind of weapon. A player has a weapon. Bu…
- Points
- 0
- HN comments
- 0
- Submissions
- 0
- Cited by
- 15 commenters
Software EngineeringProgramming Languages2016
Cited in comments
Linked from 18 Hacker News comments by 15 different people, from Dec 2016 to Feb 2026.
Most recent:
- justonceokay · Feb 22, 2026
- DeathArrow · Oct 24, 2024
- feoren · Sep 11, 2024
- hprotagonist · May 2, 2024
- evntdrvn · Aug 17, 2023
- skippyboxedhero · Jun 26, 2022