Re:A Thought Experiment: Using the ECS Pattern Outside of Ga...
by aliswe on Saturday December 28, 2019 @06:40PM
(#21902640)
I get that they are different "in action" (I also appreciate that ecs is implemented differently in various places), but conceptually, and for all intents and purposes, they should be regarded as quite similar if I'm not missing something?
Is it the fact that (some implementations of?) mixins' members could collide and conflict with eachother?
Your 3rd paragraph, did you miss "nothing" or perhaps another word?
Mixins simply fix single inheritance so a subclass's parent class is parameterized, and so concrete classes can be composed of several non-related mixins (which will often seem like multiple super-classes).
ECS is a much different and bigger beast. It's a runtime composition pattern, and has almost basically to do with classes or objects.
If you're only complaint about OOP is with single-inheritance, ECS is probably overkill.