News for hackers. Stuff that matters.
Re:Callback Hell (2016) by masklinn on Wednesday February 15, 2017 @07:48AM (#13651597)
> A lot of beginner guides to various programming languages make this mistake of associating a certain property with a language as if it's inherent. In this case, async code - while sold as a main feature of the NodeJS platform - is in no way exclusive to, or even an inherent part of, Javascript/ES the language.

Exclusive no, but considering JS's original environment and constraints it is in fact pretty inherent. `setTimeout` is part of the core language and has been for a long time, a blocking `sleep` is not.

Re:Callback Hell (2016) by vmasto on Wednesday February 15, 2017 @08:45AM (#13651913)
Actually `setTimeout` is not part of the core language, it's a Web API.
Re:Callback Hell (2016) by srssays on Wednesday February 15, 2017 @09:25AM (#13652175)
I think the point they were trying to make is that all JS is almost always used with a run loop.

Whereas Ruby and Python are often used without a run loop.

Re:Callback Hell (2016) by richmarr on Wednesday February 15, 2017 @10:22AM (#13652580)
> I think the point they were trying to make is that all JS is almost always used with a run loop.

Sure, but criticising a rant about the propogation of misconceptions by propogating a misconception seems like a self-undermining position :)