Re:Local State Is Poison (2012)
by mercurial on Friday December 27, 2013 @11:33AM
(#6971280)
Certainly, but you don't even need closures for this:
But then I wouldn't call this "local mutability", in the sense that you modify your list in a different part of the code. Not a problem in a trivial example like this, definitively an issue when the actual action performed is ten levels deep.
[ Parent
| on HN ]
There are no comments on this comment yet.