News for hackers. Stuff that matters.
Re:How generics are implemented in Go 1.18 by klodolph on Tuesday March 01, 2022 @05:07PM (#30520712)
It affects method overloading too, I should have said “method overloading”.

Just take a look at the rules for method overloading in C#, or take a look at one of the various C# compilers to see how methods are resolved.

Re:How generics are implemented in Go 1.18 by azth on Tuesday March 01, 2022 @09:11PM (#30522837)
Why are they an issue in C#, but not Java, which also has similar method overloading? Or are they related to default arguments?
Re:How generics are implemented in Go 1.18 by klodolph on Tuesday March 01, 2022 @11:04PM (#30523529)
You may be inferring something that I didn’t write. I didn’t once mention method overloading in Java.
Re:How generics are implemented in Go 1.18 by azth on Wednesday March 02, 2022 @02:15PM (#30531531)
Yes, I inferred because earlier you mentioned Java and C#, but only mentioned C# when it came to method overloading. Does Java have the same issue you were referring to when you mentioned C#?
Re:How generics are implemented in Go 1.18 by klodolph on Wednesday March 02, 2022 @02:24PM (#30531652)
I don't have enough Java experience to know the answer to that question.