programming with classes
Posted on 2005-04-13
just started learning classes hoping to add some organization to my code. Bit of learning but I get a gut feeling that I missing out big time doing without them.
I have a question of the following kind. I have two modules in a project - a module and a class module. Now what would be the right code structure strategy.
1. I mean, my main code goes to the just module and all property, methods,and events subs and procedures go to the class module associated with the class object at hand, right?
2. What if a method procedure gets big and I see that some sub procedures or functions are in order. Where do I put those, the same class module? the main code module? another module. If they stick in the class module wouldn't they become that class methods? Confusing.