Re:Useful GCC warning options not enabled by -Wall -Wextra
by wruza on Wednesday October 04, 2017 @05:53PM
(#15405047)
What did you expect from a language that dictates to where to put your opening brace.
[ Parent
| on HN ]
Re:Useful GCC warning options not enabled by -Wall -Wextra
by vkou on Wednesday October 04, 2017 @08:34PM
(#15405978)
What? That's a common style choice, not a language requirement.
Re:Useful GCC warning options not enabled by -Wall -Wextra
by ameliaquining on Wednesday October 04, 2017 @11:29PM
(#15406526)
You can't put the opening brace of a block on a separate line in Go, because the parser will insert a semicolon before it.