proposal: Go 2: "result" type · Issue #19991 · golang/go

Oh I see now. You consider those added spaces a better formatted version:

result := doThing(a).Then(func(resp)

vs

result := doThing(a). Then(func(resp)

To be honest I didn't even notice the spaces. I am sorry for that.

Uhh, my point is there could be gofmt rules that correct your ugly reformatted strawman version to my better looking one.

Uhh, you didn't address those rules in your proposal!

Is that such a mental leap to make I had to spell it out for you?

Is it such a mental leap for you to understand that Go is designed to be a language that works at scale (large programs + large teams of programmers)? Is it such a mental leap for you to figure out that allowing those one liners for something as common as error handling will tremendously hurt readability at that kind of scale? Did I explicitly have to spell it out for you? If that is the case, I humbly apologize for not doing so.

Would you have preferred I cover every last base in a GitHub issue I open in which I explicitly said it's unlikely to be accepted because it goes against the grain of the language?

No but I'd prefer a better proposal.

Goodnight. I'm done.

Good for you. I'm not done though. I'll keep criticizing not-very-well-thought-out proposals. Have a good night!

/r/golang Thread Parent Link - github.com