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
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).
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...
...Brad Cox the architect of the Objective-C language.
...the Objective-C frameworks for Apple OS X
...an excellent introduction to GNUstep and Objective-C
...a partial listing of applications available for GNUstep
...a plethora of Objective-C resources
|All times are GMT -5. The time now is 09:42 AM.|