top | item 39889133

(no title)

cuddlecake | 1 year ago

Promises are, technically speaking, "abstracted crap".

So is abstracted crap only ok if it's already in the JS standard library?

discuss

order

Izkata|1 year ago

Promises proved themselves in libraries before they got added to Javascript.

troupo|1 year ago

Signals have, too. And it is literally spelled out in the readme, in the introduction section

tqwhite|1 year ago

I hate promises. Writing:

let result; let error; await blah .then(r=>result=r) .catch(e=>error=3) .final(callback(err, result));

Is disgusting.