Netflix JavaScript Talks – Version 7: The Evolution of JavaScript




Jafar Husain discusses interesting features that can be used today in JS6, such as Object.observe, async functions and async generators, while also giving a peek at what’s being explored for JS7 to make async programming easier.

Original source


34 responses to “Netflix JavaScript Talks – Version 7: The Evolution of JavaScript”

  1. Great presentation, the es2015+ features are already making life much easier as javascript programmer. getting built-in language support for promises, generators and async / await have been missing features for some time. Life is easy now.

  2. at 25:41 this talk becomes really complex to follow because you named two separate functions "getStockPrice", one that takes a name and one that takes a symbol, there isn't any overloading in javascript so this becomes really awful to try and read.

  3. The implementation of fibonacci's sequence at 21:21 is incorrect, the body (s = a + b; b = s; a = b;) actually just doubles numbers, it would return: [1, 2, 4, 8…].

    switch line "val2 = swap;" with the line "val1 = val2;" and you'll have a working function.

    Step through:
        a = 0
        b = 1

        s = a + b: 1
        b = s: 1
        a = b: 1

        s = a + b: 2
        b = s: 2
        a = b: 2

        s = a + b: 4
        b = s: 4
        a = b: 4

    Fixed version:
        a = 0
        b = 1

        s = a + b: 1
        a = b: 1
        b = s: 1

        s = a + b: 2
        a = b: 1
        b = s: 2

        s = a + b: 3
        a = b: 2
        b = s: 3

  4. What's the fuss about? It's just a promise. I don't understand why we need years if development and countless talks and meetings of all smart minds in javascript to get rid of couple of parenthesis .

  5. all the way through this talk i kept thinking, wait these concepts are so simple and easily done in other languages (Python comes to mind).

    now these concepts are wrapped into abstractions. new keywords are introduced. the result looks complicated, confusing and hard to learn. i don't know, maybe some people like complications…

  6. The 'iterator patterns' slide at 22:43, where next returns { value: 32, done: false }, { value: 39, done: false } and { done: true }; seems oddly different to the iterator with the generator, where it would presumably be … { value: 39, done: true } and all the next() returns are the same structure – ie have both a value and a done. The way he describes it, the final one is missing a value (makes me wonder if the 'done' is redundant, since presumably we're 'done' when value is undefined).

  7. Good video though I think though that the guy talks too fast, trips over his words and says the wrong thing such as at about 7:30 when he says "You've got to be careful doing change notifications otherwise you might end up with really EFFICIENT browser rendering" then shortly after "first in last out which is actually first in first out", which makes no sense. Those quibbles aside I think this is must viewing for JS developers.

  8. Is there a good video out there for people who have done a lot of programming but never deep-dived into a JS-based MVC framework? This is very nice but it assumes you are already swimming in the deep end of the pool.

  9. wow this is absolutely mindboggling!
    I never realized that with the new IE auto update policy js versions will be able to be rolled out so quickly!
    Interesting times ahead, a bit scary thinking about there will be so much stuff to keep up with and so much deprecated stuff to throw in the bin.

Leave a Reply