TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

An Extremely Common and Terrible Line of Java

3 pointsby flormmmover 7 years ago

1 comment

makecheckover 7 years ago
Interesting point. Notably though, a function that <i>could</i> 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.