Live data from Hacker News

Java Was Strongly Influenced by Objective-C

cs.gmu.edu

1–10 of 53 posts

Re: Java Was Strongly Influenced by Objective-C

#4

Except it seems to be missing all the features that make Objective-C "Objective-C" in my mind. How do you implement method missing/message forwarding in Java? Oh, that's right, your code doesn't even compile.

Too be fair, message forwarding is a pain in the ass in ObjC as well.

Re: Java Was Strongly Influenced by Objective-C

#6
Perhaps learning Objective-C would make me a better Java coder. Alternately, maybe all the ObjC practices that would translate have already been written up as standard Java patterns or included in the standard Java books and all I'd get from it would be frustration because I can't apply anything neat I see.

Re: Java Was Strongly Influenced by Objective-C

#8
I just want to remember everyone that Objective-C is nothing more than Smalltalk with C backward compatibility. Also, the static type checking in early Java is pretty much the same thing as in early C++ (when both were without templates/generics).

Re: Java Was Strongly Influenced by Objective-C

#10

Perhaps learning Objective-C would make me a better Java coder. Alternately, maybe all the ObjC practices that would translate have already been written up as standard Java patterns or included in the standard Java books and all I'd get from it would be frustration because I can't apply anything neat I see.

Learning another programming language will almost always make you a better coder. It gives you perspective on the language you spend most of your time in, and lets you see patterns that are non-obvious is your 'main' language.

To really benefit from learning another programming language, make sure that you actually learn the language, not just hack around in it for the weekend and say you know it.

Post reply on HN