Jordan,
There will normally not be any speed benefit when you cut your programs up.
In contrary it will cost probably some time. However we are talking than
about nanoseconds.
The benefit from OOP should result in better maintenance and reusability.
When you do everytime the same checks on a form, it is easier to place
those in one place and use that everytime again. Than with a change you have
only to do it on one place.
This you probably already knows, however this simple sample can be as
complex as you want.
However do not use modules, just classes which you instance to objects.
And do not first look at speed, that is mostly not the most important part
with the common computers. Trustability is a much more important for most
users.
Just my thought,
Cor
"Jordan" <no****@bellsouth.net>
I am in the practice of including all my code for a specific object inside
the form that accesses it. Is this a bad habit?
I've been reading about object oriented program design, and I'm getting
the
impression that I would be better off to make my forms only contain code
that validates the data and then passes it off to an object that is
encapsulated with it's own code. I'm considering changing some apps to
relfect this design paradigm, but it will take some doing. Would there be
any speed benefits? Would it make expansion easier?
Jordan