Advanced JavaScript: Not for the Faint of Heart
Thanks to the kind folks from Chicago Perl Mongers, who took two hours out of their busy lives last night to learn a little bit about the dark corners and esoterica of JavaScript.
Those who have only been exposed to procedural and class-based languages often find JavaScript's unique brand of functional programming rather unusual, if not downright confusing. Its lexical scoping and prototype chaining rules allow for some very powerful metaprogramming facilities; but the language is finicky, and the very features that provide so much power can also be badly abused and hacked. It seems fair to say that this has been the rule, rather than the exception, until the dawn of the Ajax revolution in 2005. Did you know that you can easily create arbitrarily deep inheritance hierarchies in JavaScript, even though the language has no concept of classes? Create higher-order functions that can bind or curry parameters to existing functions? Extend language and DOM data types with custom functionality?
The future seems a lot brighter now, thanks to the tireless work of folks like Douglas Crockford, Dean Edwards, and John Resig, and to cross-browser JavaScript libraries like Prototype, jQuery, and Base.
The JavaScript Renaissance, Part I: The Core Language
Presentation
Snippets
Labels: javascript, presentations


2 Comments:
i'm excited to dig into this.
Too bad I had something else that night. Nick told me he learned quite a bit from the presentation. Apparently, Javascript can make people's heads spin if they're not familiar with its functional syntax. Sounds like fun.
Post a Comment
<< Home