3 ms·
Entity-Component-System is so much nicer paradigm than any hierarchy. I wonder why it's not used much outside of gamedev.
by scotty79 4y ago
Entity-Component-System is so much nicer paradigm than any hierarchy. I wonder why it's not used much outside of gamedev.
- joshka 4y agoExplain "entity" to someone that is just starting their software development career ;)
- rje99 4y agoI would have agreed with this whole-heartedly when I first started using ECS. It has its own difficulties though.
- scotty79 4y agoLike what?
- 202206241203 4y agoThat's just structured procedural programming - subroutines mutating separately-defined data. This used to be all the rage before OOP took over!
- torginus 4y agoIt is - it's just called SQL and is considered the opposite of cool.
- scotty79 4y agoIt's kinda shame that people try to cram it into rigid object model instead embracing flexibility on the code side too.
- viktorcode 4y agoIt does not replace OOP because there are no answers to other questions like: does it support polymorphism? Or data encapsulation? Etc. It's a data access design principle, and that's about it.
- scotty79 4y agoTo the same degree that SQL does. The answer is, "yes, no, does it matter? is that even interesting?"