Hacker News new | ask | show | jobs
by HyperMassive 3034 days ago
> That was the day I decided JS...

Why? surely having 47 promises and some on the same line is the authors fault?

Promise.prototype.then()'s callback function does not need to be written inline. At some point the author should have realised it hass become difficult to grok quickly and refactored them out using appropriate function names.