News for hackers. Stuff that matters.
Re:We Only Hire the Trendiest (2016) by BubRoss on Thursday December 12, 2019 @01:19PM (#21774600)
Node is a total nightmare even if you like javascript. The async everything nonsense makes basic tasks impossible without nesting callbacks within callbacks within callbacks.
Re:We Only Hire the Trendiest (2016) by andor on Thursday December 12, 2019 @01:37PM (#21774776)
Promises and async/await fix this.

The Node API unfortunately is built around callbacks, but can be turned into a Promise-based API using the built-in "promisify" tool: https://nodejs.org/dist/latest-v8.x/docs/api/util.html#util_...

Re:We Only Hire the Trendiest (2016) by edwinjm on Thursday December 12, 2019 @01:43PM (#21774858)
Then you're doing it wrong. With async-await, asynchronous programming becomes quite easy.