Information générale
Titre:
A different kind of OOP
Reading an ASP.NET book that necessarily goes into some basics of VB.NET.
VB.NET's OOP is quite a bit different than VFP's OOP.
I'm very early into objects/classes and already I find:
1) class methods can be executed without instantiating;
2) class properties can be accessed/set without instantiation;
3) class properties can be 'public' (to use a VFP term) among all instantiations of a class.
I wonder how many more differences I'll come across. Already I have a hard time defining "encapsulation" given the above.
I guess OOP is whatever specific language designers decide it is! I have no idea what 'real' OOP might be at this point.
Just thinking out loud.
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