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

You can assign the functions to variables and then make the function call in one line. Adds one line of code and a lot of readability.


Yes, but please see my last sentence. With so many callbacks in Node.js, it can make it just as difficult to follow.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: