The Power of JS Generators by Anjana Vakil

preview_player
Показать описание
Generators have been around in JavaScript since ES2015, yet remain largely ignored by many JS devs, who don’t see why or how they’d use them in their day-to-day work. But generators - which we can think of as special functions whose execution can be “paused” and resumed later on - are actually extremely powerful tools for producing and consuming series of data. That makes them perfect for implementing lazy sequences, custom iterables, animation, even the convenient asynchronous programming we now enjoy with “await”! In this talk we’ll dive into how JS generators work, what makes them so powerful, and why you should care.

About Anjana:

Anjana suffers from a chronic case of curiosity, which led her from philosophy to English teaching to computational linguistics to software development. These days she mostly codes & teaches from her home base in San Francisco, but she’ll always be a traveler at heart. Nerd out with her about functional programming & JavaScript, ask her about the Recurse Center & Outreachy, and definitely invite her to your karaoke party!
Рекомендации по теме
Комментарии
Автор

I knew I recognised her from the Functional Programming talk I saw years ago! It's one of the first talks I ever saw and it drove me to learn more JS! Go Anjana!

EddyVinck
Автор

I love her energy. Great presentation too! I've always struggled understanding generators.

Play_Streams
Автор

just fascinated how can something that's so under talked and underrated small little thing can be this powerful and cool.

khushalbhardwaj
Автор

I've never seen any speaker in a tech conference that talk so enthusiastic like her

dianyuanda
Автор

Finally we have a great explanation to generators. I knew about these for quite some time but since they are not much used, had limited knowledge on how to make them work with complex things, especially async ones. Great session.

rishabhkalra
Автор

I can't believe that this video helped me understand generators better than anything I ever saw or read on generators.

chhavimanichoubey
Автор

Anjana is very energetic which makes the presentation interesting!

phoneix
Автор

Such a nice talk, it's a shame that the person that editted it made a lot of cuts when code was presented and instead showed audience from the back...

damians.
Автор

Very good intro. And yes you're totally right, generators are underused. Very much appreciate your talk!

neonsamurai
Автор

I've read about the iterators and iterables from MDN and since then I was like, now I know what can be iterated on JS and how. And when I read about generators I was like, yeah they are there, but how to effectively use them. Thank you Anjana for showing us the various ways.

ShubhamKumar
Автор

Love her energy, what a beautiful soul. Thanks for this wonderful presentation!

ZiedHF
Автор

I studied generators few years ago but this explanation is so fun man

VKD
Автор

Brilliant talk. Please keep the code being talked about on the screen!

rollandbryan
Автор

Anjana's talks are always bangers.

bmehder
Автор

Watched from the beginning to the end. Good stuff!

stevekyhon
Автор

Another excellent talk. I'd recommend a talk she has about functional programming. She is a super good communicator!

griof
Автор

Wow she's exceptional.Great job on this presentation!

AnthonySherritt
Автор

No doubt its very useful but
Why would you switch camera while she is explaining the code 20:15. :(

code_react
Автор

This could be among my favorite conference talks

hyperrealhank
Автор

Excellent presentation of GENERATORS! (who saw the introduction will understand)
Great energy of Anjana Vakil! Thanks!

oleanddro