Skip to content

Comment on JavaScript Creator Says the Language Wasn't Just Dumb Luckparent

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.