Coding / Programming Videos

Post your favorite coding videos and share them with others!

All posts tagged generators

Javascript Generators – THEY CHANGE EVERYTHING – ES6 Generators Harmony Generators

Javascript Generators – THEY CHANGE EVERYTHING – ES6 Generators Harmony Generators Javascript Generators are AWESOME. At first glance, they seem overly simple and not very useful, but with a little bit of library love, they turn your async javascript from awful to joyful. View the code here: https://gist.github.com/learncodeacademy/bf04432597334190bef4 If you . . . Read more

 

Are you bad, good, better or best with Async JS? JS Tutorial: Callbacks, Promises, Generators

Are you bad, good, better or best with Async JS? JS Tutorial: Callbacks, Promises, Generators The 4 levels of clean JS ASync programming: Javascript programming can get really ugly, really fast…but not if you know how to avoid “callback hell”. Code available here: http://plnkr.co/edit/1ArvFxI0gWmajTpDaOSB?p=preview Also watch this video – ES6 . . . Read more

 

Using JavaScript Generators to yield Promises

Source link The moment I started to develop systems in node.js I immediately formed a very bad relationship with callbacks and CPS style of programming. I had three major problems with this style of programming: 1.) My mental model is just not compatible with it. My brain is missing capacity . . . Read more

 

Trinity of Context Managers, Generators & Decorators

Source link Python provides three elegant concepts of Context Managers, Decorators & Generators. Understanding these concepts is pretty fundamental for being able to code elegant constructs in python. What matters however, is that all these three tie up together in a very unique way. Before going to that, let us . . . Read more

 
Translate »