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 hn newest 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 load replies (1) 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.
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 load replies (1) 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.
troupo|1 year ago Signals have, too. And it is literally spelled out in the readme, in the introduction section load replies (1)
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.
Izkata|1 year ago
troupo|1 year ago
tqwhite|1 year ago
let result; let error; await blah .then(r=>result=r) .catch(e=>error=3) .final(callback(err, result));
Is disgusting.