views:

238

answers:

6

Simple question, I'm justing looking for a yes or no clarification. A citation would be appreciated but not necessary.

Bonus Question - Can Objective-C be used on Windows, or only on MAC?

+1  A: 

No. Objective-C was developed around the same time as C++ (late 1980s), and C# was developed much more recently (early 2000s).

Greg Hewgill
+2  A: 

No. Essentially: Objective C is from Apple and C# is from Microsoft. That's a gross oversimplification, but it's close enough.

Ry4an
+1 for the courage to make a gross oversimplification that is, nevertheless as you say, close enough.
GregS
I actually am told by some friends that I am the 'master of simplification' lol. I just need to learn a new language, get a new computer and then voila, an iPhone app! It should take... um ... a few hours... lol
Moshe
Thanks, GregS. I thought I was going to be eviscerated for that one. Glad to see it was read in the hasty spirit it was intended.
Ry4an
+9  A: 

No.

http://en.wikipedia.org/wiki/C_Sharp_%28programming_language%29

http://en.wikipedia.org/wiki/Objective-C

Bonus: Objective-C can be compiled by GCC, which can run on Windows.

Dan Lorenc
+1  A: 

Objective C can be thought of as a thin layer on top of 'C'. It was designed in the early '80s and Steve Jobs used it for the NeXT development. Since OSX is built upon that foundation, Mac / iPhone development use Objective C

Wenzi
+1  A: 

Essentially:

Objective-C is an object-oriented layer on top of C. It's a combination of C and Smalltalk.

C# is a reworking of Java, which is a simplification of C++, which is a different object-oriented layer on top of C.

They're cousins -- both come from C originally -- but they went down different paths.

Chip Uni
C# may have similarities to Java, but it is by no means a "reworking" of it.
Matt Greer
Matt -- I look forward to your answer to this question, then.
Chip Uni
A: 

So, the difference between the two is clear.

Can you use Objective C on platform X? Of course, it's in gcc, but the only current platform that has really good Objective C libraries is OS X, although there is GnuSTEP (which is not really mature). So, it really depends on what you want to do with the language.

Andrew McGregor