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

> My personal opinion on the subject is that you should not obsess about those things. It is good that Go that enforces one consistent style. In practice it does not really matter for your productivity what that style is.

My qualm with Go here is that it does not enforce a consistent style. (note: I use Go quite frequently). Trailing semicolons, parentheses, curly braces should either be valid or invalid. There are instances in the languages where either is fine.



A particular style is enforced automatically by go fmt.


There are many cases of style that are not.




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

Search: