Hacker News new | ask | show | jobs
by lilactown 3215 days ago
The way that promises are implemented actively hurts the ecosystem. Trying to e.g. create a sound typing of the Promise API is really, really hard because of it's auto-flattening nature. This severely hampers languages like TypeScript, Flow & ReasonML that build on top of JavaScript.
1 comments

It may have been hard, but TypeScript seems to have managed quite well.