Re:Ask HN: How often do you use inheritance?
by fuball63 on Monday May 15, 2017 @08:44AM
(#14341095)
In my web development career (with python) it is usually only simple mixin-like inheritance, mostly because I can't stand code redundancy.
In game development though, it is way easier to develop a full fledged class hierarchy. I think it is because OOP is supposed to model a physical world of objects, which is generally what you'll be simulating in games too.
In game development though, it is way easier to develop a full fledged class hierarchy. I think it is because OOP is supposed to model a physical world of objects, which is generally what you'll be simulating in games too.