On Sun, Mar 23, 2008 at 07:20:05PM -0700, Christopher Smith wrote:
I fell out of my chair for two reasons:
1) That Mr. Brown feels there is only one way to achieve dynamic dispatch
with C++.
Then you misunderstood me, since I never would have suggested anything like
that.
2) That Mr. Brown feels all OO programs require dynamic dispatch.
If I was forced to choose one thing that was necessary to call something
object oriented, it would have to be dynamic dispatch. So, feel free to
stay out of your chair. How you implement it aside, performing differing
operations based on the type of objects is what makes something OO.
I will also be clear that, although I feel C++ is indeed an OO language, it
is a particularly crappy one. It gives you some of the useful features of
OO, and then enough random other things thrown in (plus an unwillingness to
not be C) to make it the most unpleasant serious language I've ever had to
write code in. Actually, Intercal was more pleasant, since I knew it was a
joke.
I also partially agree with the reference to Alan Kay saying that GC was
necessary for OO. Although not strictly necessary, it certainly helps keep
it from being painful. Lack of GC is generally a show stopper when I
choose a language.
David
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg