News for hackers. Stuff that matters.
Re:Go is amazing, period. by canop_fr on Monday March 19, 2012 @03:18AM (#3722793)
You don't read only your code, but also code from other people. Go make it really easy, in my opinion, to fast decipher foreign code, due to shortness, clarity, and conventions. Convention help you recognize in that case the structure of the function without having to make your mind around the habit of the other coder.
Re:Go is amazing, period. by alok-g on Monday March 19, 2012 @03:21AM (#3722808)
I do not care who wrote the code -- It should be shown to me using my formatting preferences, just as I can use my own visual theme in the editor. Those themes do not affect the code as it is saved into the file, and those formatting preferences should not either.
Re:Go is amazing, period. by JulianMorrison on Monday March 19, 2012 @06:51AM (#3723314)
Formatting is semantic in Go, newlines are significant, so a brace across a newline is quite reasonably different from a brace on the same line.