Hacker News new | ask | show | jobs
by mercurial 4461 days ago
You can usually get code reuse via composition. If need be, you can have your objects implement one or more common interfaces (which may themselves inherit from other interfaces, that's not a problem).