In any case, language syntax should always take into account the expectation of programmer communities. If you push syntax too far, you lose too many people.
In any case, language syntax should always take into account the expectation of programmer communities. If you push syntax too far, you lose too many people.
When D was nascent, many people proposed various schemes for making semicolons optional. I think it's great D didn't fall for such.
The most popular languages are C, C++, Java and C# and Go's syntax is very similar to those. If anything, Python is the weird one in how it treats the whitespace and hence most likely to confuse people coming from other languages.
As to optional semicolon elision - what is the problem with that? They make the code cleaner looking and gofmt will remove them for you even if you forget due to C/Java reflexes. I don't see the downside of making them optional.
That truly speaks poorly of you.
OTOH, the problem can easily be fixed by requiring a statement to contain at least one token.