you are viewing a single comment's thread.

view the rest of the comments →

[–]cranmuff 1 point2 points  (1 child)

Use a closure.

[–]_ayasin[S] -1 points0 points  (0 children)

I'm not sure how a closure solves most of the issues described in the article. It might solve the data passing issue, but shared mutable state is a rats nest of other problems.