Tuesday, September 16th, 2008

Secrets of JavaScript Closures

Category: JavaScript

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.

Posted by Dion Almaer at 6:07 am

3.2 rating from 18 votes


Comments feed TrackBack URI

The next slide made it worth reading this presentation.


Comment by Jeria — September 16, 2008

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 … ;)

Comment by ThomasHansen — September 16, 2008

That next slide is exactly what I think of IE too.

Comment by Unfocused — September 17, 2008

Leave a comment

You must be logged in to post a comment.