News for hackers. Stuff that matters.
Re:What's a Closure? by eropple on Saturday August 06, 2011 @03:25AM (#2853328)
Because there's no need to burden ourselves (and, perhaps more importantly, the people who'll have to maintain the code after us) with a whack of boilerplate for a fairly simple function.

(Also, you can use enclosed variables inside of map/fold constructs, which would be hard to express via objects.)

There are no comments on this comment yet.