Hacker News new | ask | show | jobs
by TheCams 3961 days ago
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.
3 comments

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.
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?

Exactly, I also find it easier to see the blocks.