• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Java or Objective-C for Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java or Objective-C for Cocoa?


  • Subject: Re: Java or Objective-C for Cocoa?
  • From: Bob Ippolito <email@hidden>
  • Date: Fri, 2 Apr 2004 11:34:07 -0500

On Apr 2, 2004, at 11:12 AM, Ilan Volow wrote:

On Apr 2, 2004, at 5:43 AM, Claus Atzenbeck wrote:

Hi,

I want to develop some applications based on the Cocoa framework, which
are heavily graphic based, similar to Exposi. However, I'm a beginner
when it comes to programming Java or Objective-C. I want to go deeper
into one of those languages and I don't mind which one.

I can see that learning Java would be cool, because I also would be able
to develop platform independent apps as well. On the other side, I have
heard that Objective-C might be the better choice for Cocoa, especially
for heavy graphical stuff. Is there really a big difference?

Any opinion about that?

Any recommendation for good beginners tutorials for Java/Objective-C and
Cocoa? Would be nice if those would be free for download and easy to
print (one PDF rather than many HTML pages), like Apple's "The
Objective-C Programming Language".

Thanks for your feedback!
Claus


I think that Java does have a few advantages (at least from my point of view). While cocoa UI stuff won't be cross-platform, any technical backend stuff will. You'll still have to port stuff from Cocoa+Java to Swing+Java, but perhaps not quite as much as you would if you wrote the entire thing in Objective-C. Another good thing about Java is that is comes with a truckload of useful classes, and in some cases, those classes do not have counterparts (or at least very good ones) in the Objective-C world. For example, in the project I'm working on right now, I need to deal with lots of XML and I need excellent regular expression support. Currently, I've found very limited support for those technologies in Cocoa. Java, on the other hand, had reliable regular expression capabilities shipping with it and fairly good XML capabilities as well. For my project, it was pretty much a no-brainer about which one to pick.

You forget that Objective C itself and most of the Foundation stuff is portable via GNUstep.. also, I don't know what kind of rock you've been living under, but regular expression and XML support is just as good in C as it is in Java.

-bob
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Java or Objective-C for Cocoa? (From: Claus Atzenbeck <email@hidden>)
 >Re: Java or Objective-C for Cocoa? (From: Ilan Volow <email@hidden>)

  • Prev by Date: Re: Java or Objective-C for Cocoa?
  • Next by Date: Re: Java or Objective-C for Cocoa?
  • Previous by thread: Re: Java or Objective-C for Cocoa?
  • Next by thread: Re: Java or Objective-C for Cocoa?
  • Index(es):
    • Date
    • Thread