3 ms·
Even then, from what I've heard the trend is turning sharply away from inheritance and towards composition of components and systems. Maybe you could argue that
by brundolf 6y ago
Even then, from what I've heard the trend is turning sharply away from inheritance and towards composition of components and systems. Maybe you could argue that that's still OOP, but it's not what most people mean by the term these days
- falcolas 6y agoPersonally, when I think of OOP, I think of objects which combine state and the code to modify that state. The details of how it’s implemented - inheritance vs. composition - strikes me as more of an implementation detail than a vital difference.
- brundolf 6y agoECS, the emerging game pattern, breaks off the state-modification code as well