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.

Java's Original Sin

40 pointsby ksvsalmost 16 years ago

4 comments

russellalmost 16 years ago
I think the real original sin was the decision to be a dumbed-down C++, avoiding all the ugliness and hard to get right parts, in particular eliminating operator overloading. With operator overloading supporting the normal meanings of the operators (== means equals, not identical to). Integer would then work the same as int and auto-unblocking would have been there from the beginning. Remember Java overloads '+' for strings, so it isnt consistent.<p>Primitives made sense at the time, but with operator overloading we wouldnt be stuck with the mess we have now.<p>And methods should have been first-class objects. More messes that could have been avoided.
评论 #636521 未加载
评论 #636525 未加载
评论 #636681 未加载
larryfreemanalmost 16 years ago
Great blog post. Especially for those interested in scala and the future of Java.<p>The comments below, in my view, are just as interesting as the post.
评论 #636754 未加载
jimflalmost 16 years ago
Java's original sin is checked exceptions.
评论 #637330 未加载
knownalmost 16 years ago
Why isn't JVM integrated in Intel ICs?