Semicolon Usage Debate
The cluster centers on debates about the necessity and use of semicolons in programming languages, with frequent references to JavaScript's optional semicolons, language design choices, and related syntax issues like automatic insertion.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Why do language designers continue to insist on semi-colon terminated lines?
Why do languages still require semicolons in this day and age?
Like the optional semicolon in JS. I am a semicolon guy (and general unfan of JS tricks and shortcuts) but plenty of people prefer not to have them!
Syntactic sugar causes cancer of the semicolon!
I'm surprised no one has compared this to omitting semicolons in js. In both cases it's a rather lengthy list of conditions the writer needs to know about in order to be absolutely sure you're coding correctly, and in both cases the benefits are debatable. (The list of conditions when js semis can't be omitted are obscure at least.)
Does this mean we can finally have semicolons?
This is almost as scary as all of the people that insist on not using semicolons in JS.
The lack of semicolons in the article's examples makes me uneasy...
No semicolons in javascript! This is subversive and should be suppressed.
Syntactic sugar leads to cancer of the semicolon.