Y
Hacker News
new
|
ask
|
show
|
jobs
by
aatd86
400 days ago
turns out that using composition and polymorphism is usually simpler than inheritance in such cases.