Thursday, April 07, 2011

OOP misconceptions

I read an old Internet posting wherein somebody basically scoffed at object-oriented programming. He dismissed it as nothing more than the natural outcome of being able to call functions.

This shows that this person had absolutely no understanding of what object-oriented programming (OOP) truly means. Sadly, there are a lot of folks like that out there. A lot of people, including some computer science majors, think that OOP basically means keeping one's data private and using a set of public functions in each class. That's not it at all. It's not even a good example of information hiding, for pity's sake.