paint-brush
How to Stop Using Callbacks and Start Livingby@dashmagazine
3,419 reads
3,419 reads

How to Stop Using Callbacks and Start Living

by Dashbouquet Development7mJuly 18th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Javascript has two major ways of dealing with asynchronous tasks — callbacks and Promises. In general Promises are considered easier to use and to maintain than callbacks. But in reality even Promises alone won’t make you happy. Asynchronous code may still be quite difficult to read and to understand. Therefore third-party libraries, <a href="https://github.com/tj/co" target="_blank">e.g. co</a>, provided means to write a synchronous-like asynchronous code.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - How to Stop Using Callbacks and Start Living
Dashbouquet Development HackerNoon profile picture
Dashbouquet Development

Dashbouquet Development

@dashmagazine

Dashbouquet is a web & mobile development agency, helping startups & SMEs build robust web and mobile apps since 2014.

Learn More
LEARN MORE ABOUT @DASHMAGAZINE'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Dashbouquet Development HackerNoon profile picture
Dashbouquet Development@dashmagazine
Dashbouquet is a web & mobile development agency, helping startups & SMEs build robust web and mobile apps since 2014.

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