Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: