Autofreak
asked on
class or no class
Hello All,
I'm at a point when my tasks got so complex and interdependant that I am thinking of learning classes finally. My understanding is that classes act more or less like sub routines and functions where one calls them from some point in the program to perform some task, only do the calling differently. Now, the question is how classes are beneficial over using the traditional sub procedures and functions from software performance and architecture standpoint? Are there sagnificant coding efficiency and code reusabilty gains? How using classes made you a better designer?
Thank you,
Serge
I'm at a point when my tasks got so complex and interdependant that I am thinking of learning classes finally. My understanding is that classes act more or less like sub routines and functions where one calls them from some point in the program to perform some task, only do the calling differently. Now, the question is how classes are beneficial over using the traditional sub procedures and functions from software performance and architecture standpoint? Are there sagnificant coding efficiency and code reusabilty gains? How using classes made you a better designer?
Thank you,
Serge
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
VB6 supports objects and classes but doesn't provide "true" inheritance or polymorphism. You get some degree of polymorphism thru the use of interfaces. Some interesting reading:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvbdev00/html/vb00d20.asp
http://www.thescarms.com/vbasic/objectoriented.asp
http://www.danielmoth.com/Blog/2005/03/polymorphism-is-not-coupled-to.html
http://www.tattvum.com/Articles/2002/2002-03/2002-03-24/Ramu-SE-20001228-OOP=E+P.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvbdev00/html/vb00d20.asp
http://www.thescarms.com/vbasic/objectoriented.asp
http://www.danielmoth.com/Blog/2005/03/polymorphism-is-not-coupled-to.html
http://www.tattvum.com/Articles/2002/2002-03/2002-03-24/Ramu-SE-20001228-OOP=E+P.html
ASKER
Thanks a lot, excellent explanation Idle_Mind, I am going to look theu the links you provided. Can you Guys suggest a VB book on classes that can start me going, not too nurdish though, kind of step by step hands on arrangement.
Serge
Serge
ASKER
What do you mean not true OOP language?
Serge