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.
The text was updated successfully, but these errors were encountered: