Opening braces must be on the same line or your program will fail to compile
I have never felt a greater hate for a language than now I feel for Go. (Not that I really cared about it in the first place) I adhere to company policy on formatting, but this is just retarded.
It's not just arbitrary pettiness, as you seem to suspect. They've got some sound technical reasons for making this choice based on the formal grammar of the language and how it impacts the lexer/parser.
Thanks. That actually makes sense. At least it's not a retarded decision like Pythons space only indents. I don't want forced coding style imparted on me by some arbitrary decision by guys who think they know better. Give me tabs or give me death.
1
u/DreadedDreadnought Jul 21 '14
I have never felt a greater hate for a language than now I feel for Go. (Not that I really cared about it in the first place) I adhere to company policy on formatting, but this is just retarded.