2 ms·
This wasn't something Java brought to OOP, it was borrowed almost verbatim from Objective C (protocols). You can google your way to Java's designers specificall
by pvg 11y ago
This wasn't something Java brought to OOP, it was borrowed almost verbatim from Objective C (protocols). You can google your way to Java's designers specifically mentioning this as a direct influence.
- jdmichal 11y agoPerhaps I should have said "popularized by Java". It's also not something that couldn't have been done in C++ by creating classes which consist purely of abstract functions, since C++ allows for multiple inheritance.
- pvg 11y agoThat's probably true, although I'm not sure it's a very meaningful distinction as you can make a fairly reasonable argument that Java popularized OOP in general or at least, put it in the mainstream. I did find the post I was thinking of http://www.virtualschool.edu/objectivec/influenceOnJava.html http://www.virtualschool.edu/objectivec/influenceOnJava.html Among other things, it gives a bit of an inkling of the attitudes of the people working on then-current and new OOP systems and languages towards C++ at the time. But, yes, that sort of thing quickly becomes talmudic interpretation of 'what is true oop' :)