5 ms·
I think that entity-component-system will replace oop in the near future. https://en.wikipedia.org/wiki/Entity_component_system https://en.wikipedia.org/wiki/E
by adamnemecek 7y ago
I think that entity-component-system will replace oop in the near future.
https://en.wikipedia.org/wiki/Entity_component_system https://en.wikipedia.org/wiki/Entity_component_system
- zamalek 7y agoEntities are, very broadly speaking, only useful for games. ECS is a type of composition programming and, I agree, it certainly seems to be a better approach. Rust traits are essentially static composition, and Rust seems to be eating the programming world. I cannot fathom what a language with dynamic/late-bound/ECS composition would even look like. Hopefully we get to see some interesting stuff in that space.
- deleted 7y ago[deleted]