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 Was Strongly Influenced by Objective-C

131 pointsby thealphanerdover 12 years ago

7 comments

SeanLukeover 12 years ago
Wow, a pointer to an old page of mine, that's weird to see on HN. This post was originally from comp.sys.newton.misc, back when I was a PhD student. Here was the thread:<p><a href="https://groups.google.com/d/topic/comp.sys.newton.misc/Kb0JoVv2ljA/discussion" rel="nofollow">https://groups.google.com/d/topic/comp.sys.newton.misc/Kb0Jo...</a><p>The discussion was originally about Java on the Newton, and someone had made the goofy suggestion that Java was based on NewtonScript. Patrick Naughton jumping in was an interesting ending to the thread.<p>As a side note: four years later I actually wound up writing the only version of Java released on the Newton (Waba).<p><a href="http://cs.gmu.edu/~sean/projects/newton/waba/" rel="nofollow">http://cs.gmu.edu/~sean/projects/newton/waba/</a>
评论 #4972491 未加载
评论 #4972361 未加载
rayinerover 12 years ago
Well Objective-C was influenced by Smalltalk, and nearly every modern OOP language was also heavily influenced by Smalltalk. And of course there has been over the years a lot of cross-pollination between Smalltalk and Java. Hotspot was written by the team that had originally marketed a Smalltalk VM, Gilad Bracha co-authored the JVM 2.0 specification and was also involved in the Strongtalk Smalltalk implementation, and of course one of the key developers of Hotspot, Lars Bak, is now working on Dart which is basically Smalltalk with Javascript syntax.
评论 #4972038 未加载
评论 #4971999 未加载
评论 #4972447 未加载
gilgoomeshover 12 years ago
Which is why Objective-C++ is so much fun to have available in your Mac/iOS programming toolbelt: it's the best and worst of two completely different C-derived object-oriented language lineages in one schizophrenic package.
评论 #4972132 未加载
评论 #4971942 未加载
评论 #4971871 未加载
sippndippover 12 years ago
So how comes that they missing out all the cool features like "performSelector", "respondsToSelector"? Sure the whole OOP part may comes from Objective-C (SmallTalk to be precise) but the dynamic parts were poorly executed.
评论 #4972066 未加载
评论 #4973422 未加载
评论 #4972058 未加载
评论 #4972321 未加载
niksterover 12 years ago
That might explain its complicated syntax. Better than obj-c but worse than nice languages like Ruby or Python.<p>Also, if they were influenced by Obj-C then why on earth didn't they bring over the by far most useful feature of the language, caegories?! Or maybe categories were a later addition?<p>I have been developing Java for 15 years and ObjC only for two but categories are seriously the best thing since sliced bread. Anything missing in the libraries? Just add it!
评论 #4972127 未加载
评论 #4971994 未加载
评论 #4972642 未加载
timthornover 12 years ago
Fascinating that this snippet is from comp.sys.newton. I've forgotten all my NewtonScript, but do remember the richness of the Newton programming model.
zackzackzackover 12 years ago
I'm twenty-one and the email referenced something called "Excited Live". Can anybody explain what that was? Google hasn't been much help.
评论 #4972203 未加载
评论 #4972791 未加载
评论 #4972205 未加载
评论 #4973973 未加载