3 ms·
Didn't we all spend years and years learning that OOP is about writing "class Car extends Vehicle"?
by pocksuppet 4mo ago
Didn't we all spend years and years learning that OOP is about writing "class Car extends Vehicle"?
- saghm 4mo agoHonestly since college I've mostly learned that inheritance is more trouble than it's worth
- Rendello 4mo agoThat's one of the things Mike was pushing back on (in the context of C++ / game dev; there's a good example ~20 min in). In case you haven't seen it, Casey Muratori's The Big OOPs: Anatomy of a Thirty-five-year Mistake digs into the different ideas and viewpoints surrounding OOP and how it coalesced into a dogma: https://www.youtube.com/watch?v=wo84LFzx5nI https://www.youtube.com/watch?v=wo84LFzx5nI