LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Objective-C (http://www.linuxquestions.org/questions/programming-9/objective-c-50792/)

dogn00dles 03-20-2003 02:19 AM

Objective-C
 
I keep hearing about this...a true superset of C. Would any of you recommend it, is it better for a lot of the tasks C/C++ is used for? What good learning sources are available for it? Thanks for any feedback/flames

llama_meme 03-20-2003 09:21 AM

Objective C has a rather different syntax to C++, and a more dynamic object model (you can add methods to existing classes, query the type of an object at runtime, etc.) It's basically an attempt to graft a Smalltalk-type object system on top of C, and is therefore is not quite as efficient as C++. It's in some ways a bit more pleasent to work with, but it lacks some important features (e.g. exceptions).

I wouldn't really recommend it over C++, as there aren't many libraries available for it (with the big exception being Cocoa/GNUStep, of course).

Alex

Quasaur 11-29-2003 03:30 AM

I'm in the process of learning Objective-C, after having read up on it for a number of years...

Objective-C is the way object-oriented programming SHOULD be implemented in the C language, and there are myriad libs available (even for the Windoze platform).

Here are some links that will help you...

http://www.virtualschool.edu/cox/
...Brad Cox the architect of the Objective-C language.

http://www.osnews.com/story.php?news_id=3379
...the Objective-C frameworks for Apple OS X

http://www.roard.com/docs/lmf1.article/
...an excellent introduction to GNUstep and Objective-C

http://wiki.gnustep.org/index.php/Al...20Applications
...a partial listing of applications available for GNUstep

http://www-i2.informatik.rwth-aachen...w/objective-c/
...a plethora of Objective-C resources


All times are GMT -5. The time now is 02:38 AM.