Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Never Use Semicolons (JS) (feross.org)
4 points by dsego on Sept 1, 2021 | hide | past | favorite | 2 comments


Not at all a JS expert, but a common user by now. I always set them after statements, but not after function declarations (C-style seems to work).

I think making it optional was a mistake because parsing and linting becomes more complicated with questionable benefit.


I assumed an argument on English punctuation; how disappointing.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: