Hacker News new | ask | show | jobs
by novembermike 1593 days ago
It feels like half the usage of inheritance is also just workarounds for mocking things in unit tests or being able to access things that are private/protected. Everything ends up with an interface and an impl just because of silly language decisions.