121k views
1 vote
Why is a Closure a necessity in functional programming?

1 Answer

1 vote
Closures are a necessity in functional programming because they allow you to associate data (the lexical environment) with a function that operates on that data. (closures are the way the languages can achieve lexically scoped name binding)
User Damian Green
by
7.5k points

No related questions found