>JVP is right. And I know of several folks (with Ph.D.s in Computer Science) who'll agree with him. OOP is as much a design methodology as anything else.
OOP is of course a design methodology. And many OOP characteristics can be implemented in just about any language. Certainly encapsulation can be. My point is that _inheritance_ is diificult enough to do without language (or OS) support that, practically speaking, the best you can do is object-based programming without it.
If not, all someone has to do is give an example of a class hierarchy (in a real-world program) in a language without OOP (and COM doesn't count:).
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement