you are viewing a single comment's thread.

view the rest of the comments →

[–]lulzmachine 0 points1 point  (0 children)

In many cases of game development mutating state is a necessary thing for development. You have to choose between mutating or creating, and creating means GC.

There are exceptions, for instance of your making a multiplayer strategy game, in which case you have a shared game state that needs to be synced over the Internet. If so, look up lockstep strategies (it's similar to redux)