Re: [go-nuts] A modest format suggestion

2020-04-25 Thread scott
Ian's and Lutz's responses get to the heart of how comments on parameters are different from comments on struct field, constant and variable initializations, namely that the documentation framework (whether in an IDE or via godoc) elevates comments on functions to a different status than "inter

Re: [go-nuts] A modest format suggestion

2020-04-25 Thread Lutz Horn
Instead of this: | // Great is a really great function.     func Great(         anArg int,// This explains anArg         anotherArg string,// This explains anotherArg )(err error){ ... | I'd think that this: | // Great is a really great function.     func Great(         anArg int,// This e