Timeline for What is the name for closure-type functions that use the call-site environment?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 18, 2016 at 14:39 | answer | added | Evil | timeline score: 1 | |
Jul 18, 2016 at 9:24 | answer | added | Andrej Bauer | timeline score: 5 | |
Jul 18, 2016 at 7:23 | history | edited | Raphael | CC BY-SA 3.0 |
added 28 characters in body; edited title
|
Jul 18, 2016 at 6:35 | history | tweeted | twitter.com/StackCompSci/status/754927443232886784 | ||
Jul 18, 2016 at 5:51 | comment | added | user6245072 | @Evil Oh i get it. | |
Jul 18, 2016 at 5:24 | comment | added | user6245072 | @Evil I don't know about prototyping in Javascript, but yes, it's that. Meanwhile, where can I find the differences between dynamic and static scoping? | |
Jul 18, 2016 at 4:57 | comment | added | user6245072 | @Evil the link you provided is basically a closure. Imagine a function in which you need an helper function that changes the local variables of the outer function. With closures you would have to declare it each time the function is called, from inside the outer function. While with anti closures you could just declare it once and it will work every time because it can modify the variables of the outer function whitout being declared inside it. | |
Jul 17, 2016 at 21:33 | history | edited | Raphael |
edited tags
|
|
Jul 17, 2016 at 21:19 | comment | added | user6245072 | @Evil I just tried and C++ doesn't let me do it too. | |
Jul 17, 2016 at 21:05 | comment | added | user6245072 | @Evil awww it sounded like a new thing to me because neither Lua nor Lisp and Python let me do that. I guess you are right then | |
Jul 17, 2016 at 20:33 | history | asked | user6245072 | CC BY-SA 3.0 |