paint-brush
Using Generators as syntax sugar for side effectsby@vitaliy.akimov
1,375 reads
1,375 reads

Using Generators as syntax sugar for side effects

by Vitaliy Akimov4mJune 11th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This story shows Generators as an explicit but seamless syntax for programs with asynchronous operations, shared mutable state and other side effects. The conversion is based on so-called Monads.

Coins Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Using Generators as syntax sugar for side effects
Vitaliy Akimov HackerNoon profile picture
Vitaliy Akimov

Vitaliy Akimov

@vitaliy.akimov

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite