4 ms·
> you know that it only changes the state of this player, and nothing else. This gets ugly when the state of every actor can potentially affect the state of ev
by silentbicycle 17y ago
> you know that it only changes the state of this player, and nothing else.
This gets ugly when the state of every actor can potentially affect the state of every other actor, though. This is pretty common in games.
That's the main point the linked article is making.
- miloshh 17y agoYes, and it is a weak point. My point, instead, was that FP does not break down when things get ugly; on the contrary, it gives much stronger guarantees on correctness. Of course, it takes effort to express the problem in the more restrictive functional paradigm.
- ellyagg 17y agoYeah. I fail to see how scads of global data is less ugly.