3 ms·
The existence of `nonlocal` is an indictment of the local-by-default design. (Parenthetically, for completeness, I should note that this is a problem only when
by bhk 4y ago
The existence of `nonlocal` is an indictment of the local-by-default design.
(Parenthetically, for completeness, I should note that this is a problem only when the language supports mutable variables or, more precisely, mutable captures or "upvalues", which I think are also a bad idea, but that's another bag of worms for another day.)