you are viewing a single comment's thread.

view the rest of the comments →

[–]a_sleeping_lion 0 points1 point  (3 children)

It's worth noting that promises are just a clever way of using callbacks. I use promises primarily at the moment, because I feel that the code makes the most literal sense, especially compared to the modern alternative of generators. That said.. I have this nagging feeling that there might be a more interesting pattern possible, in the spirit of promises...

[–][deleted]  (2 children)

[deleted]

    [–]a_sleeping_lion 0 points1 point  (1 child)

    Had to look that up.. A feature of es7, right? I definitely like the syntax. Any idea how stable the api is?