Hacker News new | past | comments | ask | show | jobs | submit login

The problem with implicit semicolon insertion is that (1) the rules for it are too complicated and (2) it's called "semicolon insertion", which makes it sound stupid. Lots of other languages — FORTRAN, Ruby, Python, Tcl, BASIC, sh, LOGO — use line breaks to separate statements without the problems that come from JS's too-clever semicolon-insertion rules.



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

Search: