Hacker News new | past | comments | ask | show | jobs | submit login

FWIW I don't think Jon is suggesting an OOP approach either. ECS advocates definitely promote that as the dichotomy though. There are lots of ways to structure game state without having to go the fine grained route.

Specially since many just learned it by doing, instead of reading the OOP literature regarding ECS systems.


ECS as meant here though is definitely imperative/functionally structured. Although there is a lot of familial resemblance with other component approaches.

SoA and AoS are othorgonal to components implementation.

Applications are open for YC Winter 2020

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact