Re:The Hardest Program I've Ever Written
by skybrian on Thursday September 10, 2015 @10:31AM
(#10198234)
Did you know that Go doesn't have a line limit and gofmt doesn't wrap lines? It only fixes whitespace within a line. It's up to programmers to split lines manually. It seems to work for them, so clearly there's more than one way to do this.
[ Parent
| on HN ]
Re:The Hardest Program I've Ever Written
by munificent on Thursday September 10, 2015 @10:36AM
(#10198270)
> Did you know that Go doesn't have a line limit and gofmt doesn't wrap lines?
Yup.
My feeling is that this keeps gofmt much simpler, but it kind of punts the problem onto users. I wanted a more complete solution, even though the result is a lot more complex.