Fun with Swift
>Which to my mind is horrendous. The closure f does not capture the value of i at the time when f is defined, changing i after f was defined make nonsense of the idea of a closure.Of course it should change i after the closure was defined, since the closure doesn't copy but refer to that i.Looks like a fully proper closure.Which language does this differently?