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

This is a matter of personal preference.

I find `return` to be quite distracting and annoying for a small function that spans part of a line, while you and some others may prefer the explicitness of the `return` keyword.

I would agree that nested destructuring should be used quite cautiously. Code legibility is incredibly important to the success of any serious project.



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

Search: