
82 9 Chapter 5: The Languages of Mac OS X: Objective-C
saying something so eminently reasonable and true will likely
get your head handed to you on a platter.
Dynamism
Dynamic Typing
Perhaps the most important feature of Objective-C as com-
pared to C++ is its dynamism. Dynamic typing, binding, and
loading/linking replace or expand features of a C++ compiler
and are performed at run time.
In C++, every object you refer to in your program is typed.
You can use any of its methods--either methods declared in
the object itself or methods in any of its ancestors. For exam-
ple, the following syntax is legal in C++ and would allow you
to ask a ...