5 comments

[ 2.5 ms ] story [ 20.1 ms ] thread
I think that entity-component-system will replace oop in the near future.

https://en.wikipedia.org/wiki/Entity_component_system

Entities 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.

(comment deleted)