|
|
|
|
|
by tubby12345
1652 days ago
|
|
>One annoying bit about Go's generics is that you can't use type parameters in methods. i haven't written go in a long time (generics would/could get me to go back to it) but are you saying that functions can't be generic? or is members here vernacular for class (struct?) associated functions? i thought those were called "receivers", which you mention further down. so it looks to me like you're saying that functions can't be generic. to which i ask: wtf is the point of generics when functions can't be generic...? |
|
I've edited my original post to make it a bit clearer.