To be fair, Visual Studio supports Visual Basic and F#, which don't require semicolons for line endings. Also, DateTime.Parse(_) uses the current year if the string contains an incomplete date. I don't think this is all that shitty.
Newer JS requires semicolons. Browsers do not complain, but JSLinters will and if you try to minify it, it will likely blow up in your face. As support for older JS is phased out, browsers should start complaining and throwing errors.
That's not required. JS linters aren't the language. It's simply good practice to use semicolons and it's good practices that linters are enforcing.
And every JS minifier I've seen can support lack of semicolons fine. The minifier usually will insert its own semicolons as per the rules of automatic semicolon insertion (so it'll work the same way).
No way browsers will unnecessarily break backwards compatibility simply for good programming practice. A site can work perfectly fine without semicolons. Breaking those would be unacceptable. At best, there might be a warning, but I doubt that. It's too minor to spam the console with.
EDIT: I completely forgot this was shittyprogramming. Excellent work.
Which newer standard? ES 2015 still does automatic semicolon insertion, and I haven't been able to find anything (yet) about semicolons in the proposals for ES 2016.
I find it incredibly hard to believe they'd break backward compatibility with old websites.
33
u/Deaboy Jul 14 '15
No semicolon either. Even more ironic that it's an ad for a world-famous IDE.