Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks like idiomatic JS code to me.



For some reason naming your functions in JavaScript often get meet with strange looks. My colleague just love anonymous functions.

I think that at least some like the callback hell, because they think it makes them look clever.


'Pyramid of Doom'?

Sounds more like something from a certain python web framework to me. ie:

http://docs.pylonsproject.org/en/latest/_downloads/pyramid-a...


I'd question the need for that many nested callbacks when you're already using Promises.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: