C++ vs. Objective-C

What are the differences between the programming languages C++ and Objective-C? What are the fundamental approach and philosophy differences?

I just found this old, yet informational article “C++ Versus Objective-C” on MacTech. It appears to have been written during the old Rhapsody days, but the information contained within is pretty interesting if you are new to Objective-C and development using Cocoa on the Mac (or NextStep).

Definitely read the “Philosophy of Each Language” section. This information actually cleared up a lot of foggy things floating around in my head. I kept wanting to think of Objective-C classes like C++ classes, but apparently I was looking at them all wrong.


Posted

in

,

by

Tags:

Comments

2 responses to “C++ vs. Objective-C”

  1. Marc Avatar

    In my limited exposure to Objective-C, it always seemed like a combination of C with Smalltalk. Is that accurate?

  2. Jon Trainer Avatar

    I’ve never used Smalltalk, but I’ve heard it described this way several times. The article I referred to above actually does describe objective-c as follows:

    On the other hand, Objective-C is a blend of C and Smalltalk. Most of it is straight C, with embedded Smalltalk.