News for hackers. Stuff that matters.
Re:Why Is Object-Oriented Programming Useful? With a Role-Pl... by pjmlp on Tuesday December 02, 2014 @05:03PM (#8690268)
> The only real form of code reuse that OOP addresses is direct object inheritance.

This is not true.

COM, Smaltalk, Eiffel, BETA, SELF, CLOS offer different OOP models than the average Java and C# programmers are aware of.

You can have code reuse via composition, delegation, sub-typing, genericity, mixins.

OOP is nothing more than modules in steroids for those of us that started with languages like Modula-2 and Turbo Pascal, doing Abstract Data Types[1][2] programming.

[1] - http://cs.utexas.edu/~wcook/papers/OOPvsADT/CookOOPvsADT90.p...

[2] - http://www.amazon.com/Data-Structures-Abstract-Types-Modula-...

Re:Why Is Object-Oriented Programming Useful? With a Role-Pl... by lmm on Tuesday December 02, 2014 @05:27PM (#8690435)
"OOP" means different things to different people. I think we can all agree that beginners should be encouraged to look beyond the C++/Java/Python object models and consider alternatives to direct inheritance, which is the core point here.
Re:Why Is Object-Oriented Programming Useful? With a Role-Pl... by pjmlp on Tuesday December 02, 2014 @05:52PM (#8690599)
That I agree, yes.