3 ms·
> I know this is about the weakest critique possible, but currently using Go, I know my next project won't be in it, simply for the impossibility to put an open
by kalekold 9y ago
> I know this is about the weakest critique possible, but currently using Go, I know my next project won't be in it, simply for the impossibility to put an opening curly brace on its own line. Other languages that don't require semicolons at the end of a line have it, and even if they didn't, I'd rather have to put semicolons manually.
Go actually does use semicolons and the formatting has been forced onto users to allow easier automatic insertion of them. They were going to get removed but in the end it was easier just enforcing a format.
https://golang.org/doc/effective_go.html#semicolons https://golang.org/doc/effective_go.html#semicolons