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