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

It's amazing (and funny) how this whole semi-colon thing is based on fear.

People should understand the role of semi-colons and ASI, just like they should understand the comma operator. It's not hard, takes 10 minutes (read Isaac's post).

Everyone saying that they don't need to understand it is doing a disservice to the community, there's no harm in wanting knowledge of the language to evolve. A few years back people seldomly used IIFEs, and I remember hearing the same argument (wtf is that, don't use it, I don't understand). Change is good.



There's no should about it. I know ASI exists, and I also know I need never concern myself with it, because I prefer the simplicity and consistency of finishing each line with a semi-colon.




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

Search: