News for hackers. Stuff that matters.
Re:Experimenting with architectures for video games inspired... by NooneAtAll3 on Tuesday December 31, 2024 @02:25AM (#42557123)
> I gave this module its own immutable state. The state could be modified

this made me chuckle a bit

Re:Experimenting with architectures for video games inspired... by d3VwsX on Tuesday December 31, 2024 @03:53AM (#42557452)
I am not sure in what way the state described is immutable at all? It just seems like mutable state hidden behind some access methods?
Re:Experimenting with architectures for video games inspired... by dragonwriter on Tuesday December 31, 2024 @12:30PM (#42560225)
Yeah, the author seems to be using “immutable” for state that is merely encapsulated rather than actually immutable.