3 ms·
No, that's a completely invalid objection. Punctuation in natural languages isn't just aesthetic, it changes meaning.
by TeMPOraL 8y ago
No, that's a completely invalid objection. Punctuation in natural languages isn't just aesthetic, it changes meaning.
- firethief 8y agoThat's a mostly invalid counter-objection. Technically true, but with context its usually recoverable.
- rcfox 8y agoPunctuation, or lack of it, can change the meaning in programming languages too. https://medium.freecodecamp.org/codebyte-why-are-explicit-semicolons-important-in-javascript-49550bea0b82 https://medium.freecodecamp.org/codebyte-why-are-explicit-se...
- anoncake 8y agoYeah, but no one would remove punctuation from a program because they think it looks nicer. > Javascript developers Oh, of course.
- andrewprock 8y agoDon't forget gofmt.
- JoBrad 8y agoI remove semicolons from JS b/c I feel like they are a bit of a hack. Except where it's required by the language (for loops, which are becoming less used quite rapidly), your code generally shouldn't be so complex as to require semicolons for readability. Having said that, I've been introducing a lot more colons, since I use TypeScript.
- anoncake 8y agoI was referring to punctuation that is, in some way, actually necessary. No one ends their lines with semicolons in python although it's valid. The rules when the interpreter will "insert" them are obvious. Not so in Javascript.