Crockford on JavaScript – Act III: Function the Ultimate




Yahoo!’s JavaScript architect Douglas Crockford continues his lecture series on the JavaScript programming language with a discussion of functions in JavaScript. “Functions are the very best part of JavaScript,” Crockford says. “It’s where the power is, it’s where the beauty is.” Watch the video to learn why.

Original source


5 responses to “Crockford on JavaScript – Act III: Function the Ultimate”

  1. 0:50:35. Yes, creating a new instance to set up prototype part of inheritance and not  invoking Parent.apply(this,arguments) in Child constructor body does make the sample code pretty shit. Or not liking this so setting that to this so this is available in closures (drink much do you?). He's a brilliant guy with many good ideas but someone should write a book called "Douglas Crockford; the bad parts". I do wonder what the V8 team or Forefox has to say about his "ninja" pattern all to avoid using keyword (just trashing all optimisation and consuming extra cpu/memory)

    He even states himself that "this is how it's intended to be used" and then goes about completely ignoring it.

Leave a Reply