SFJS #44: Scope Chains and Closures
Details
Agenda
6:00p Doors Open
6:30p Adam Breindel on Scope Chains and Closures
7:40p 15 Seconds of Fame
8:30p Meetup over
We'll also be raffling off two tickets to ForwardJS (http://www.forwardjs.com), this July 25 in San Francisco.
Adam Breindel (@adbreind (http://twitter.com/adbreind)) presents Closure (and Scope Chain): Mysteries Revealed!
http://photos2.meetupstatic.com/photos/event/c/2/9/4/600_365869812.jpeg
Do you know exactly how closures work? Has another coder ever asked you exactly what a closure is, and you found yourself saying "it's kind of like when..." or showing an example of code ... or saying it is a function defined inside another function?
If so, you're not alone, and this is the meetup for you: by the end of this talk, you will not only know exactly what closures and scope chains are (both in JavaScript and in general) but you will be able to explain it precisely to anyone who asks, in 30 seconds or less!
After all, JS closures and scopes -- as well as their implementations -- are nothing strange or complex... but they are rarely explained well, and this creates an unnecessary amount of mystery. Let's ditch the mystery and get real!
This talk will not only explain exactly how scopes and closures work, but will show how a JS engine can trivially implement these features.
Interested in sponsoring or promoting a job opening? Fill out ourprospective sponsor form (https://docs.google.com/forms/d/1LitUylgdPxIw2CaxGWEEgXr4k6FhZs0hM7Bq-TN8EQQ/viewform).
Interested in speaking? Fill out our prospective speaker form (https://docs.google.com/forms/d/1i0Knylpcw5aT4MJOjiaGxniqfTFYn2A2dDdhBy5J8qg/viewform)
The SF JavaScript Meetup is committed to maintaining an inclusive, harassment-free atmosphere. Attendees, speakers and sponsors must all abide by our Code of Conduct (http://confcodeofconduct.com/). Please do not spam the group with job postings/contact info in the comments or bring collateral to the events.