News for hackers. Stuff that matters.
Re:Callback Hell (2016) by williamdclt on Wednesday February 15, 2017 @06:20AM (#13651204)
Lot of blabbling for a simple concept: do not abuse nesting. It's the case with control statements, it's still the case with functions, and even more with async functions.

Oh, and callbacks definitely exist in other languages, like C.

What's the deal with this trend of setting up a whole website for a (basic) blog post?

Re:Callback Hell (2016) by meowpants on Wednesday February 15, 2017 @08:20AM (#13651773)
Don't be hatin'. It's a useful read for many.

"Simple concept" is subjective. I'd bet that discussing "simple concepts" with an engineer or scientist would likely cause your mind to grasp and instinctively try to relate to your own memorization of facts. But that shouldn't preclude you from discussing what you do know, or for that matter, sharing it with the world.

Re:Callback Hell (2016) by williamdclt on Wednesday February 15, 2017 @10:47AM (#13652772)
(answering you, but also for otherz saying the same thing below)

Yeah you're probably right, I've been a bit pedantic.

I feel this article is unnecessary long for the subject, it would be a good length for something like "setting up a hadoop cluster", but having all sorts of articles about all subjects is a very good thing. My bad.

Re:Callback Hell (2016) by briceb8e on Wednesday February 15, 2017 @06:27AM (#13651240)
SEO.
Re:Callback Hell (2016) by delinka on Wednesday February 15, 2017 @09:05AM (#13652047)
Callbacks exist in C. But inline functions (where a parameter to another function would be placed), don't. Actually, we don't even have closures in standard C (there is a non-standard extension provided by Apple that maybe you can use to recreate JavaScript's callback hell if you're so inclined...)
Re:Callback Hell (2016) by emdowling on Wednesday February 15, 2017 @09:03AM (#13652034)
I would've loved an article this well written and explicit when I was first learning JS (or even any language, really). Really well done with good, practical examples.
Re:Callback Hell (2016) by davidrm on Wednesday February 15, 2017 @08:44AM (#13651908)
Detailed posts like these help beginners.