Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Questions
Message
From
21/01/1999 08:53:17
 
 
To
21/01/1999 06:57:29
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00177951
Message ID:
00178428
Views:
28
If you have a limited number of customer types and you know them all from the beginning, this may be the good approach (ie one class for each type). This also means that when a new customer type will be added, a new class must be created.

IMO, this solution is clear and it may be easier to maintain.

Vlad

>Thank you for your replies. I would understand from this that if it is possible from a design and maintenance viewpoint it is better in terms of operational speed to create famlies of classes. In other words, if I have several types of customers (cash customers, financed in house customers, sweetheart deals with finance company customers etc) I could create one family of classes to handle the creation and saving of customers and another family to handle payments, accounts receivable etc. This would split the code up and allow faster loading and execution. I am obviously new to this and I just worry that I will go overboard and really slow down the app. Should I be concerned?
Previous
Reply
Map
View

Click here to load this message in the networking platform