The benefit of traits vs. classes is that I can add *functions* to existing objects without needing to modify a monolithic definition. The benefit of ECS vs. structs is that I can add *data* to existing objects without needing to modify a monolithic definition.
That's cool! Didn't know about DOTS. I skimmed a few DOTS tutorials but didn't see anything addressing my main gripe: code modularity.
-
-
Eg a helper function that computes what entity the player is looking at. It depends on global resources (physics engine, ray caster), but I don't want to make it a separate system. To call `player.looked_entity()` I have to pass through all its dependencies -- leaky abstraction.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I think largely your gripes would still apply, just wanted to throw it out in case I missed something. Given the people leading that effort, they tend to eschew abstraction by default
-
In theory, given they control the user experience, their could be facilities added that handle the boiler plate involved in some of those abstractions which require piping that data through
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD