Go Back   The Apple Blog Community > Apple/Mac > Development
Register Social Groups iSpy Members List Search Today's Posts Mark Forums Read FAQ

Development XCode, Cocoa, and all other development

Reply
 
LinkBack Thread Tools Search this Thread
10-03-2007   #1 (permalink)
Cashier
 
WizzKid's Avatar
 
Join Date: Oct 2007
Location: Scotland/Aberdeen
Posts: 32
WizzKid is on a distinguished road
Send a message via AIM to WizzKid Send a message via MSN to WizzKid
Hey guys,

A few months ago I bought a book titled "Learning Cocoa" by O'REILLY.

Only looked at the first few pages, and other work had to be done, so it got put to the side!

Heres a few general questions:

Is Cocoa really that popular, I dont hear much talk about it compared to C and C++?

Would it be worth while learning it?

Would it look good on a CV for instances?

Thanks in advance,

WizzKid
__________________
My Blog
WizzKid is offline   Reply With Quote
Sponsored Links
10-03-2007   #2 (permalink)
Concierge
 
mdmunoz's Avatar
 
Join Date: Nov 2006
Location: Davis, CA
Posts: 643
mdmunoz has disabled reputation
Send a message via AIM to mdmunoz
You are a bit confused on the terminology. Cocoa is a framework, not a language. It's just a collection of classes and their methods which are available for the programmer to call. You can write Cocoa applications completely in C or C++ if you want to (though they will still only run on Macs). In fact, you can also use Java, Applescript, and, in Leopard, Ruby and Python.

You are correct, however, that the main language for Cocoa, Objective C (undoubtedly the language used in your book), isn't very popular at all outside of Mac development. The reasons for this are many, but the simplest one is that Obj-C and C++ are both regular C with object-oriented programming added in (and there are tradeoffs for either language). Since C++ has become so widespread, it leaves little room for another object-oriented C variant.

However, you would not be putting yourself at a disadvantage by learning Objective-C. Since it is basically C with a few enhancements, you will probably be learning all of C anyway if you will be doing serious development (in fact, Objective-C Cocoa programs will often have segments of pure C or even C++ code in them and work just fine). And switching to something like C++ from Obj-C should not be very difficult because of shared lineage with C.

Last edited by mdmunoz; 10-03-2007 at 07:57 PM.
mdmunoz is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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


All times are GMT -6. The time now is 12:02 PM.




Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5
© 2004-2008