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

Hmm, sounds like what I said with "unless you're doing some crazy reflection stuff ", and it sounds like a solution that reduces the readability and maintainability. But maybe I'd need to see a good example to appreciate it.


Easiest example: You can do "instanceof T" with generic T in C#. You can't in Java.


Take a look at: http://en.wikipedia.org/wiki/Comparison_of_C_Sharp_and_Java#...

Good examples there of the differences.




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

Search: