Variable Capture Considered Harmful

According to wikipedia, after Dijkstra’s letter Go To Statement Considered Harmful there were at least 65 papers published with titles like ‘X Considered Harmful’, most of them generating heat but little light. I’m using the convention ironically because, well, this is just a nit. It shouldn't be controversial all. :-)

Variable capture is the use of an externally defined variable inside of a closure or block. It's something you'll see in most code that uses closures, and often it&...

 •  0 comments  •  flag
Share on Twitter
Published on December 09, 2015 06:55
No comments have been added yet.