I would submit that "pure-oop" does not exist. OO is all about analysis and design and is language indepdendent. For example, you can employ OO design principles with FoxPro 2.x - or any language for that matter. Designing classes is all about the creation of interfaces that in turn provide direct access to properties and methods that have designated as public. The code contained in the methods is largely procedural.
IMHO, OO is not about creating reusuable code. Rather, it is about having the ability to package code in such a way that makes the code easy to reuse.
Elements like Scan, Seek can't really be classifed as non-OOP. They are language elements in the VFP language. If you have defined functionality that can be reused - and have packaged the functionality in a well designed class - you are employing OOP.
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