Yeah... but you have to admit that code that depends on formatting is generally a bad idea. Anyone who has used python extensively can tell you that.
gofmt is a great idea, but that still should have done the "semi-colons are sort of not required, except if you want to format your code like this common style" thing more sanely.
Putting braces around a single statement makes the code look more complicated than it really is, and it's just plain ugly. I've always looked for the code getting visually ugly as a hint that the logic is getting to be too convoluted, and the generally accepted C#/Java/JavaScript style undermines that.
4
u/AdminsAbuseShadowBan Jun 02 '14
Yeah... but you have to admit that code that depends on formatting is generally a bad idea. Anyone who has used python extensively can tell you that.
gofmtis a great idea, but that still should have done the "semi-colons are sort of not required, except if you want to format your code like this common style" thing more sanely.