Darren New wrote: > Christopher Smith wrote: >>>> C++ uses static dispatch by default, doesn't it? If you write a C++ >>>> program and never define a virtual function, is your code necessarily >>>> not OO then? >>> Yes. >> /me falls out of chair. >> Sorry, just not the case. > > Funny that you mention Alan Kay below, as dynamic dispatch/late binding > is one of the two or three properties he says make up "object oriented". > (Depending on which interview you read, it's 2 or 3 properties...)
Yeah. I just missed the part where he specifically identified virtual functions (which don't exist in Smalltalk-80) as the only acceptable means of achieving this goal. --Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
