|
|
|
|
|
by imagist
3481 days ago
|
|
> It's 2016 and there are many well documented and widely adopted solutions arising from external libraries and developments in ECMAScript. "Solutions" is a strong word for what's available in JavaScript. Promise hell isn't better than callback hell, it's just horrible in slightly different situations. To make matters worse, it seems that many JS libraries have just wrapped the old callbacks in promises, meaning that we end up using promises in situations where a callback would actually be easier (because that's how it was originally written). None of this comes close to the ease of threads in Erlang. |
|