Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

I hate automatic semicolon insertion. They complicate the language. Here's the rule for a language that uses semicolons to terminate statements:

1. Semicolons terminate statements.

Look at the rules for Go semicolon usage[1] or Javascript semicolon usage[2] or Python newline usage[3]. They're not simple. Entire essays can be and have been written describing the complexity introduced by saving programmers that single keystroke.

Maybe I'm crazy, but I want my tools to be simple. I would much rather type a thousand extra semicolons than spend extra hours internalizing the statement termination rules of the languages I use.

[1] http://groups.google.com/group/golang-nuts/browse_thread/thr...

[2] http://inimino.org/~inimino/blog/javascript_semicolons

[3] http://docs.python.org/reference/lexical_analysis.html



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: