News for hackers. Stuff that matters.
Re:The faster you unlearn OOP, the better for you and your s... by szastupov on Sunday November 25, 2018 @11:21AM (#18527454)
> Player.hits(Monster).with(Weapon)

The problem is that it's an artificial example, in reality you'll ave a lot of different monsters, weapons, and most importantly separate subsystems. I.e. physics processed in one pass, animation in another, same goes for custom logic and rendering.

Modern game engines use component systems that put data first for the same reasons author described in the post.

There are no comments on this comment yet.