Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: use of Write method on Request/Response/Header is confusing #19104
I think the choice of
But worse than that, while
I understand that the signatures are different, but if I'm quickly reading code I want to be able to understand what's going on without keeping track of types and signtures. Right now, if I see this line, it's very hard to know which of the two it is without reading more code and some light investigation:
I think a better name would be
This can't be done in Go 1.x, so marking as Go2.