Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
An Extremely Common and Terrible Line of Java (paultyma.blogspot.com)
3 points by flormmm on Feb 9, 2018 | hide | past | favorite | 1 comment


Interesting point. Notably though, a function that could optimize itself based on the exact type given (e.g. runtime “instanceof”) can recover performance while still being general enough to accept anything. If you pass around nothing but exact types, you lose that opportunity.




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: