News for hackers. Stuff that matters.
Re:Syncify.js – Eliminates the need for callbacks in the bro... by onestone on Sunday May 10, 2015 @01:40PM (#9520642)
What you describe is the "old" way to use promises.

Instead, you can yield promises inside generator functions, or better yet use async/await with a transpiler. Both methods give you nice sync-looking code.

Re:Syncify.js – Eliminates the need for callbacks in the bro... by dmak on Tuesday May 19, 2015 @09:50PM (#9574249)
Good to know!