Conversation
Why in the everliving fuck does #Go's URL.Host include the port while Port() is a freaking method that returns a string?!
1
3
4

@buherator Thanks for the tip, that was an interesting git-log to take a look at!

1
0
1
@fugueish I didn't want to delve into that part but, RIGHT?? I mean we talk about language design at Google, where I imagine they use URLs *a lot*!
0
0
1

@buherator I knew that historically Unix systems let admins defined named services which could be used instead of numeric ports (see `man 5 services`), so I guessed it would be for that support.

1
0
1
@terinjokes That's interesting but I'm afraid this doesn't make the API any less awful
0
0
0