News for hackers. Stuff that matters.
Re:Global Mutable State by alkonaut on Tuesday September 19, 2017 @04:34PM (#15288554)
The particular example of game engines is where many laws of clean code break down. The tradeoff to performance is usually not worth it to get immutable data structures, AoS and all those niceties. Instead you make singletons, SoA, collections of mutable entities and so on. And that's fine, as long as you have good performance reason to make that tradeoff.

There are no comments on this comment yet.