2 ms·
Personally, 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
by falcolas 6y ago
Personally, 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