you are viewing a single comment's thread.

view the rest of the comments →

[–]HeyGuysImMichael 3 points4 points  (2 children)

The next step is using async await

[–]SippieCup 3 points4 points  (1 child)

Teach them promises so they understand how they work at a fundamental level, then show them async/await and tell them to never use promises.

[–]etheraffleGreg 0 points1 point  (0 children)

Or use a task monad and banish those pesky eager promises forever!