Hacker News new | ask | show | jobs
by stonemetal 5864 days ago
OOP is actually constructing solution code in a pattern that supports encapsulation, polymorphism, information hiding, etc. The idea is a conceptual tool, a code construction pattern of thinking.

Yeah except Alan Kay, you know that guy who invented OOP, says everything you mention there is the overly complex BS unOOP. OOP is late binding and message passing. It isn't the hair splitting you seem to think it is, it truly different philosophies about programming. What you are calling OOP is more like Structured Programming Redux, strong on the structure and light on the dynamic message passing and late binding.

2 comments

In his own words (from HN, I think): http://lists.squeakfoundation.org/pipermail/squeak-dev/1998-...

The way I read this, he should have called his paradigm "Message Oriented Programming", and Erlang is actually closer to his views than Java.

Alan Kay? Well gee, you should have said something. Here I was using working definitions and Alan Kay already had the answer.

Either you understand how silly you sound or you do not. I suspect the latter. Perhaps you and Alan could continue the discussion.

What can I say a silly response to a silly post. Information hiding, encapsulation,polymorphism, have been Software Engineering principles before OOP was invented Using X == good software engineering then X is the true definition of OOP no matter how you program it, and all that bad OOP code is just wolves in OOP clothing is humorous. Good clean structured code may look similar to OOP code. If the author was not Oriented on Objects then it isn't OOP code. OO is more about how you get there than where you end up.