Hacker News new | past | comments | ask | show | jobs | submit login

gofmt choice of not breaking lines is due to the fact that new lines in Go mean an implicit semicolon unless there is a comma or another continuation.

To break lines, the formatter would have to refactor code, which is not desiderable.




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

Search: