Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why are they an issue in C#, but not Java, which also has similar method overloading? Or are they related to default arguments?


You may be inferring something that I didn’t write. I didn’t once mention method overloading in Java.


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#?


I don't have enough Java experience to know the answer to that question.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: