• Thursday , 13 August 2020

Netflix JavaScript Talks – Version 7: The Evolution of JavaScript

Code Canyon



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

3d Ocean

Related Posts

34 Comments

  1. James Cat
    October 29, 2017 at 23:46

    also on slide at 28:28 where is the accept() method from? should that be resolve() ?

  2. James Cat
    October 29, 2017 at 23:46

    In the slide at 21.25, wouldn't the state variable have to be outside the next function in the closure otherwise it will always be zero when next is called??

  3. Jimmy Janson
    October 29, 2017 at 23:46

    Brilliant, thanks man.

  4. Michael Robb
    October 29, 2017 at 23:46

    @22:03 infinitely return (I mean yield) 0? hmmm

  5. Subin Varghese
    October 29, 2017 at 23:46

    btw, Object.observe has been removed. It was an expensive operation which was never needed once React was able to handle the "diff"ing without such a native solution.

  6. Rich Brown
    October 29, 2017 at 23:46

    This is a great tutorial on promises/generators of ES2015 and async/await (coming in ES7). Thanks!

    The "asyncgenerator" features that are discussed later on in the talk was in early strawman stage in the TC39 committee in Dec 2014 when the video was recorded. It has since been withdrawn (see https://github.com/jhusain/asyncgenerator)

  7. Richard Seldon
    October 29, 2017 at 23:46

    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.

  8. slandermaster
    October 29, 2017 at 23:46

    Is the language support for observation still on schedule for ES7?

  9. Owen Sotomayor
    October 29, 2017 at 23:46

    Wonder where this is at now that it is one year later from the presentation…

  10. LoganNZL
    October 29, 2017 at 23:46

    1:06:58 Question, you what, mate?

  11. Leonid Romanov
    October 29, 2017 at 23:46

    Excellent presentation. Made me excited about the future of JS.

  12. Alexei Barnes
    October 29, 2017 at 23:46

    Screw it anyone in the same place as I am right now who thought they understood more about generators before this talk just go here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators

  13. Alexei Barnes
    October 29, 2017 at 23:46

    Wow, ok so what do the right and left lines of code imply at 26:30 onwards, I can't figure out what pattern you are trying to imply by splitting them into two columns.

  14. Alexei Barnes
    October 29, 2017 at 23:46

    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.

  15. Alexei Barnes
    October 29, 2017 at 23:46

    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

  16. saga vera
    October 29, 2017 at 23:46

    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 .

  17. Dominic Watson
    October 29, 2017 at 23:46

    Great talk from the voice of Jiminy Cricket!

  18. victor noagbodji
    October 29, 2017 at 23:46

    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…

  19. Aleksandar Grbic
    October 29, 2017 at 23:46

    I wonder if microprocessor could listen to what this guy says, you would need 8 core processor to process all this…
    Gotta download this video to my PC and slow it down.

  20. Max Waterman
    October 29, 2017 at 23:46

    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).

  21. George Of The Jungle
    October 29, 2017 at 23:46

    Perhaps if I see it twice or thrice or more I'll begin to grasp it? Gosh!

  22. George Of The Jungle
    October 29, 2017 at 23:46

    I don't get it, this is crazy, sheesh what a mess!

  23. Mukesh Soni
    October 29, 2017 at 23:46

    crazy. learning monads might be easier.

  24. Richard Hunter
    October 29, 2017 at 23:46

    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.

  25. Richard Smith
    October 29, 2017 at 23:46

    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.

  26. Chris Weber
    October 29, 2017 at 23:46

    +Adam Ranfelt If you have some free time, watch this.  It's about ES6 and ES7, but it's also why Generators are super awesome.

  27. jiabin xiong
    October 29, 2017 at 23:46

    it is so complicated.

  28. Augustus Yuan
    October 29, 2017 at 23:46

    I went to this talk and I'm a little disappointed they didn't add the Q&A to this video. There were some interesting questions but either way I'm very excited for the future of JavaScript.

  29. David Fregoli
    October 29, 2017 at 23:46

    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.

  30. denisinla
    October 29, 2017 at 23:46

    Is it just me or does the video have a "click" audio when Jafar talks.

  31. Jason Lough
    October 29, 2017 at 23:46

    Been a programmer since 1999. What the hell is this guy talking about.

  32. Saravanan Venkatachalam
    October 29, 2017 at 23:46

    Good for developers from C#, it will reduce learning curve and get adopted quickly

  33. 3amsleep
    October 29, 2017 at 23:46

    the bees knees

  34. Tavitooo
    October 29, 2017 at 23:46

    Please in spanish language

Leave A Comment

You must be logged in to post a comment.