4 ms·
Yep, but in CLOS, methods don't belong to a class, which is different from what most people mean when they say object oriented.
by aidenn0 14y ago
Yep, but in CLOS, methods don't belong to a class, which is different from what most people mean when they say object oriented.
- MichaelSalib 14y agoOnce you have multimethods, you don't need to couple the method definitions to the class body. But you're still doing object oriented programming; CLOS is an object system. The fact that people assume that OOP==Java is unfortunate, but doesn't change the fact that CLOS is also OOP. Beyond that, I think you're conflating how method bodies are placed in a file with "belonging to a class". I can define C++ methods outside of the class definition, but surely no one would say that such methods don't belong to a class.
- aidenn0 14y agoWell if 95% of the population use a term to mean one thing, then arguing that no it really means something else doesn't get you anywhere. And no, I'm not conflating those. In C++ and Java, classes are, among other things, namespaces. When you declare a method in a class, it ends up in that namespace. Where it is defined is unimportant.
- MichaelSalib 14y agoI guess I figured that Joe Armstrong knew more about programming languages than the average PHP developer. If you don't think he does, that's fine.
- batista 14y ago>Well if 95% of the population use a term to mean one thing, then arguing that no it really means something else doesn't get you anywhere. It's not about getting "somewhere". It's called computer SCIENCE, remember?
- aidenn0 14y agoWhen someone says "object oriented" unless they define their terms, or are clearly coming from the smalltalk school, I assume they are talking about C++/Java style OO, since that assumption is right the most often. This is particularly true when someone is talking about "what's wrong" with OOP