News for hackers. Stuff that matters.
Re:Such a Little Thing: The Semicolon in Rust by joeyespo on Sunday October 21, 2012 @03:59PM (#4680602)
JavaScript's problem isn't that you can choose whether or not to use semicolons, it's that they're automatically put in for you if you omit them.

http://lucumr.pocoo.org/2011/2/6/automatic-semicolon-inserti...

Technically, Python is a much better example of optional semicolons since you can use them and they're not required. Of course, the real reason they exist is for compound statements.

http://stackoverflow.com/questions/8236380/why-is-semicolon-...

There are no comments on this comment yet.