News for hackers. Stuff that matters.
Re:Global Mutable State by seanwilson on Wednesday September 20, 2017 @04:35AM (#15291741)
I don't see this being a big deal with games. When you want to e.g. introduce power-ups that have complex interactions between players, bullets, enemies and the physic system you can't really avoid giving all your entities access to each other for flexibility. Maybe you could use immutable data while avoiding memory management issues but what are you gaining? For all rules of thumb, you need to weigh up the benefit with the cost.

There are no comments on this comment yet.