How JavaScript Works

July 14th, 2010 · 10 Comments ·

Just a quick presentation I have done on JavaScript.

video:

slides:

Tags: Uncategorized

10 responses so far ↓

  • Mohamed Mansour // Jul 14, 2010 at 8:30 pm

    Misko, you present pretty well! Thank you!

  • Pedro Newsletter 15.07.2010 « Pragmatic Programmer Issues – pietrowski.info // Jul 16, 2010 at 1:48 pm

    [...] Misko Havery JavaScript presentation. [...]

  • ed // Jul 16, 2010 at 3:28 pm

    i think you glanced over the topic but didn’t go into it. but can you explain what are the side effects of declaring

    Something = function() {
    this.someProperty = ‘test’

    Something.prototype.someFunction = function() {
    //do something
    }
    }

    vs.

    Something = function() {
    this.someProperty = ‘test’
    }

    Something.prototype.someFunction = function() {
    //do something
    }

  • misko // Jul 16, 2010 at 3:32 pm

    @ed,
    Setting the prototype in the constructor is not a good idea, as you are redefining the class methods on every construction. I don’t think I ever said that. So the second form is the approriate form.

  • paul // Jul 18, 2010 at 7:06 pm

    very nice, enjoyed this a lot and it’s really refreshing to see a talk that gets down to interesting differences and pieces of the language, instead of just covering syntax.

    I know you are a big eclipse fan for java dev, are you using mostly browser windows for js dev or another setup?

  • misko // Jul 18, 2010 at 7:41 pm

    @paul

    I use jstestdriver for all of my development.
    http://code.google.com/p/js-test-driver/

  • gropapa // Jul 22, 2010 at 5:46 am

    Nice video as usal!
    May i point out that actionscript works almost the same about closures, apply() and call()
    __proto__ & prototype existed with as2 but are not available anymore (thank god btw)

  • Indrit Selimi // Jul 30, 2010 at 1:05 am

    Hi Misko,

    I want to thank you for all these beautiful presentations! Keep going.

    Indrit

  • Krishna // Aug 1, 2010 at 1:09 am

    Just mind-blowing presentation. You ran through the idiosyncrasies in the language. Writing the language in the functional way feels more natural, you have dealt OO developer perspective of approaching the language which is very appropriate as they are lot of OO folks jumping in to the language with OO approach in mind. Explanation on differences between js and browser heaps were thought provoking.

    Reference section citing some of the recent developments makes the presentation more complete.
    Curious to know if you have read the book pro javascript design patterns by justina diaz and ross harmes.

  • misko // Aug 1, 2010 at 7:49 am

    @Krisna,

    thanks for your kind words. believe it or not I have never read any JavaScript book.

Leave a Comment