News for hackers. Stuff that matters.
Re:Do you feel that golang is ugly? by TheCams on Friday August 14, 2015 @10:42AM (#10060327)
One of the thing that annoyed me is that the language forces you to put your opening braces on the same line as your condition/loop. I like to have them on the same vertical line, I find it easier to see the blocks.
Re:Do you feel that golang is ugly? by michaelmior on Friday August 14, 2015 @10:45AM (#10060343)
I personally prefer to way Go does it although there are other formatting standards that are enforced that bug me. However, even if I don't like everything I am somewhat fond of the fact that this actually enforced.
Re:Do you feel that golang is ugly? by jeremiep on Friday August 14, 2015 @10:49AM (#10060376)
I don't mind that, after years of working in languages like Clojure, CoffeeScript, Python and Haskell (mostly for personal projects, at work I use C++/C#/Java) I now see braces as syntactic noise and use indentation to see the blocks. But that's just a matter of preferences.

I'm more curious about Go on a semantical level. What does it make practical and idiomatic?

Re:Do you feel that golang is ugly? by billconan on Friday August 14, 2015 @11:01AM (#10060445)
Exactly, I also find it easier to see the blocks.