4 ms·
I think that ecs is the thing that will kill oop. https://en.wikipedia.org/wiki/Entity_component_system https://en.wikipedia.org/wiki/Entity_component_system
by adamnemecek 7y ago
I think that ecs is the thing that will kill oop.
https://en.wikipedia.org/wiki/Entity_component_system https://en.wikipedia.org/wiki/Entity_component_system
- jcelerier 7y agoso we hear since 2008
- EamonnMR 7y agoI took a very dogmatic approach to ECS on a project[1][2] but I'm not sure it ended up easier to read or write as a result. [1] https://github.com/EamonnMR/Flythrough.Space/blob/master/src/ecs.js https://github.com/EamonnMR/Flythrough.Space/blob/master/src... [2] https://github.com/EamonnMR/Flythrough.Space/blob/master/src/gameplay.js https://github.com/EamonnMR/Flythrough.Space/blob/master/src...
- adamnemecek 7y agoI think that js me not be the best language for it.
- bcrosby95 7y agoI like ECS when designing certain kinds of systems but I'm not sure how relevant it is here. I'm also not sure it would be particularly useful for your average webapp.
- 32gbsd 7y agoOOP is hanging on for dear life. ECS has its niche. But why do you want OOP to die?
- zelly 7y agoAt the very least it proves you don't need OOP to do UIs. It is more difficult to implement ECS (there isn't a long tradition of it and libraries like MVC has) but well worth the effort. It's more suited to native UIs than webapps though.