"It was the perfect example of Dunning-Kruger." You guys are hanging out on IRC making fun of people that are 'stupider' than you, attack the messenger instead of the message, while you post a non-generic function to…
"What he's describing is far more than possible using interfaces. I have plenty of code that does so." I did not say it was impossible, I said it was ugly and really verbose, which it is. If you think different how…
Wrong and you know it. Go does not have generics so you have to use void* (interface{}) and casting. It ends up being about an order of magnitude uglier and more verbose. Which is why map, fold, etc don't exist in Go.…
"It was the perfect example of Dunning-Kruger." You guys are hanging out on IRC making fun of people that are 'stupider' than you, attack the messenger instead of the message, while you post a non-generic function to…
"What he's describing is far more than possible using interfaces. I have plenty of code that does so." I did not say it was impossible, I said it was ugly and really verbose, which it is. If you think different how…
Wrong and you know it. Go does not have generics so you have to use void* (interface{}) and casting. It ends up being about an order of magnitude uglier and more verbose. Which is why map, fold, etc don't exist in Go.…