This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Well, this is my own personal opinion but I think Objective-C is a much more elegant language than C++.
Yes Objective-C looks like a hack build upon C language but it is a very well put hack. The language itself is really minimal.
I enjoy coding in Objective-C.
Since it’s essence, Obj-C has been growing in popularity among developers. It’s one of the most versatile and easy to code languages. We can toll-free bridge between C,C++ and Obj-C. It is a superset of C with Object Oriented features along with other runtime improvements.
Adobe Certified Expert Flex 4(ACE) (89%), SCJP 5.0 (97%), SCWCD 5.0 (100%), Adobe AIR/Java /J2EE/Spring/Apple iPhone & iPad Application Developer.
~~~ Arise, awake and stop not till the goal is achieved ~~~
vamsi acharya wrote:What is actually objective C ??? ....is it similar to CPP ?? ....Can you even build mobile applications using this language ??
In reverse order, effectively Objective C is the only language for development on the iPhone/iPad/iPod-touch.
I would not say that it is similar to CPP unless you use a very broad definition. CPP is really a different language with just some legacy C stuff.
Objective-C is also a different language than C, with a fair amount of legacy C stuff, but a whole lot of Smalltalk grafted onto it.
Objective C is a language designed in the early 1980s by Brad Cox and used by Next in the NextStep machine. Next is of course, the failed next generation computer that Steve Jobs created when he was kicked out of Apple. When Apple brought Steve back, he brought major parts of the NextStep operating system.
While the language is the same for both OS-X and IOS development, there are a lot of differences. I think its more accurate to talk about OS-X or IOS development, they are similar and use some of the same frameworks, but other stuff is different.
The Objective-C that most folks care about is both a language and the object-oriented framework (library) that folks use to write IOS and OS-X applications.
Objective-C isn't the only language for iOS development, C and C++ are also used especially for gaming.
Large parts of Cocoa/Cocoa Touch Core frameworks are coded in C language. It is not uncommon in iOS development to write C code.
A weird creature also exists, it is called: Objective-C++. Never touched it any way.
John Todd wrote:Objective-C isn't the only language for iOS development, C and C++ are also used especially for gaming.
OK, I stand corrected. But I can't imagine writing modern GUI code, say for IOS using C. Well, I can imagine it, I can even remember doing it for Windows 386/2.11 and much of the early Windows 3.0 days. MS Visual C++ didn't get released until Windows NT. What I remember gives me nightmares.
C++ is not my favorite language. so far, I'm thinking that Objective-C is ahead.
Objective-C is an object oriented language which lies on top of the C language.It was originally the main language for NeXTSTEP OS.
You can say Objective-C is a strict super set of C. You can also use the C file and it will compile fine.
It is mainly used for computing on MAC OS X. you can use it as a desktop language as well as iOS development.