Closed RiseOoi closed 4 years ago
The first sentence describes the feature called "closure", the second that a function that uses this feature is called "a closure". These are two different usages of the term, and I'm keeping that second sentence.
I see, I understand now.
Not sure if it confuses other people too, but if so, may need revision.
Hi Marijhn, it took me a bit to understand this too, but this is a complex subject. I take this opportunity to thank you. Your book is very dense and difficult but I like your style. I am sick and tired from online courses that only scratch a surface. kind regards laura On Thursday, 28 November 2019, 06:51:42 GMT, Marijn Haverbeke notifications@github.com wrote:
Closed #506.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
This sentence is confusing the first time I read it, cost me 1 minute to understand:
This feature—being able to reference a specific instance of a local binding in an enclosing scope—is called ((closure)). A function that references bindings from local scopes around it is called a closure.
Because it explains closure twice.
PR removes the second sentence.