/explore
|
You are here |
www.valentinog.com | ||
| | | | |
ponyfoo.com
[AI summary] The article explores the power and versatility of ES6 generators, focusing on their ability to manage complex control flows. It highlights how generators can be used for asynchronous operations, such as interacting with APIs, and how they allow for inversion of control, where the generator defines the sequence of operations rather than the consumer. The text also discusses error handling through g.throw(), and the use of g.return() to handle termination of sequences. The article concludes by suggesting that generators are a valuable tool for managing asynchronous and sequential processes in modern JavaScript. |
|
| | | | | ||
| | | | |
2ality.com
This blog post explains the ECMAScript proposal "Asynchronous Iteration" by Domenic Denicola and Kevin Smith. It has reached stage 4 on 2018-01-25 and is part of ECMAScript 2018. |
|
| | | | | ||
| | | | |
staltz.com
The cornerstone of JavaScript is the function. It is a flexible abstraction that works as the basis for other abstractions, such as Promises, Iterables, Observables, and others. I have been teaching these concepts in conferences and workshops, and over time I have found an elegant summary of these abstractions, layed out in a pyramid. In this blog post I'll provide a tour through these layers in the pyramid. FUNCTIONS X => Y Function Value The very b... |
|
| | | | | ||
| | | | |
blog.ploeh.dk
Programming languages don't have to have a built-in notion of error handling. You can implement sane error handling from first principles. An introduction for object-oriented programmers. |
|
| | | |||