[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: object-oriented C programming



>>>>> "PB" == Philip Brown <phil@bolthole.com> writes:

    PB> Which is what object oriented programming is all about!

Actually, most OO people would tell you that the code you wrote is
object-BASED. They make the distinction that object ORIENTATION
requires support for -inheritance-, also.

You can do inheritance and polymorphism in C by various methods (like
aggregation, the poor programmer's inheritance), but it's a little
harder to do than simple structure encapsulation.

    PB> Well... how many people have just had their minds blown?

Yeesh.

~ESP

-- 
Evan Prodromou
evan@prodromou.san-francisco.ca.us



Reply to: