3 ms·
I can agree with gofmt being great, but I can't agree that a simple newline before a brace should be treated as a syntax error. You're forced to use Google's co
by alekratz 9y ago
I can agree with gofmt being great, but I can't agree that a simple newline before a brace should be treated as a syntax error. You're forced to use Google's coding style, whether you like it or not. Preferred coding style is subjective, and Go ignores the fact that not everyone works for Google.
- adrianlmm 9y agoI don't know why they are modding you down, but is true, code formatting is subjetive and Google enginers do not hold universal truth.
- aphistic 9y agoIt's not subjective when the language dictates that's how it's to be done. Coding style changes based on the language you're writing in, Go just happens to have a very strict style.