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

Just because you can use the shorthand syntax, doesn't mean you always should.


I wouldn't say it's that bad. A curly brace would make it a bit clearer though.


I prefer my code to be more than "it's not that bad" when it comes to readability.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: