Tuesday, September 16th, 2008
Secrets of JavaScript Closures
Stuart Langridge gave what looks like a great talk on the secrets of JavaScript closures.
I had to chortle a little when I saw this slide:
And the follow up slide, showing that Stuart doesn’t agree :)
He does go on to show issues with holding on to references and leaking memory, as well as many other details on closures. Clicking through presentations often doesn’t give you much… but in this case I found it very interesting indeed.





The next slide made it worth reading this presentation.
:)
Wow…!
This is the equivalent of saying that “OO is just a hype” in 1985 … ;)
.
I guess though for IE (which have a terrible Garbage Collector) he is right, though who uses that browser anymore … ;)
That next slide is exactly what I think of IE too.