Y
Hacker News
new
|
ask
|
show
|
jobs
by
tempodox
1053 days ago
Apparently the author hasn't learned the most important lesson: Think thrice before you use OO. And if you do, keep your hierarchies flat and simple. Prefer composition over inheritance. Make invalid states unrepresentable.