Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Cocoa: Objective-C vs. Java

Cocoa: Objective-C vs. Java
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 1999
Location: Hollywood, CA
Status: Offline
Reply With Quote
Sep 27, 2000, 08:11 PM
 
I am a long time MacOS programmer, and very familar with C, C++, and Pascal (as well as Object-Oriented Pascal). I'm thinking of diving into the wonderful world of Cocoa. I do not, however, know either Objective-C or Java.

I've heard many good things about the Objective-C language, and I've even taken the time to read *most* of Apple's intro to Objective-C. I've also heard Avie say Apple will support Obj-C "forever". It sounds like learning Objective-C is the "cleanest" approach to programming in Cocoa.

However, the fact that EOF and WebObjects are using Java, and the fact that Java knowledge would do well on other platforms makes me consider Java as a contender in my decision.

The simple question is this: If I had to learn either Java or Objective-C to program medium sized applications in Cocoa, which would serve me better?

How hard is Objective-C to learn, if you're already familiar with OOP and C++?

Are there performance issues to the choice?

How much can we trust that Obj-C won't get marginalized, either by Apple or 3rd parties?

How "object friendly" is Java compared to Obj-C?

ps - I realize this is a subjective question/answer, so as they say on SNL's Coffee Talk: "Discuss it amongst yourselves!"
     
Fresh-Faced Recruit
Join Date: Jun 2000
Location: Munich, Germany
Status: Offline
Reply With Quote
Sep 28, 2000, 04:21 AM
 
just a minor suggestion: check out news://comp.sys.mac.programmer.help and news://comp.lang.objective-c
There was a major thread about this a while ago (about a month or so?)
     
mike.wiese
Guest
Status:
Reply With Quote
Sep 28, 2000, 01:08 PM
 
Objective-c is already marginalized! Cocoa was cool 12 years ago, but it has not kept up with the outside world. Apple might figure it out eventually, but there's a lot of people with their heads in the sand right now.

If you want to write a Mac application, use PowerPlant.

If you have your career in mind, learn java.

mike
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Sep 28, 2000, 01:30 PM
 
Mike, might you, say, possibly give us a shred of evidence for those rather inflammatory statements? I see absolutely no evidence to back up your claims, particularly the one about Cocoa "not keeping up with the outside world." I'm still learning Cocoa, but from what I can see the only reason it hasn't kept up with the outside world is that it's still ahead of the outside world.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Forum Regular
Join Date: Sep 2000
Status: Offline
Reply With Quote
Sep 28, 2000, 05:58 PM
 
You might want to check out the Omni Group's developer mailing list and its archives. This is a topic of constant debate, and there are many people there who have been using the Cocoa technologies for quite some time.
     
Fresh-Faced Recruit
Join Date: Jan 1999
Location: Hollywood, CA
Status: Offline
Reply With Quote
Oct 5, 2000, 11:56 PM
 
Thanks for the OmniGroup lead. For everyone's benefit, the index for the macOS X developer list is:
http://www.omnigroup.com/mailman/archive/macosx-dev/

There were gobs of postings on the Obj-C vs. Java debate. And for the record, there doesn't seem to be any clear concensus on the subject.

As for PowerPlant, that's what I'm using now, and I think I've decided to continue with it for a while. My experiences with the PB have been good, but not great. I also think there is value in supporting legacy system software via carbon.

I would, however , like to migrate to Cocoa, since development seems to be more rapid.

jb
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:10 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2