Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and SQL at the same time
Message
From
15/01/2019 07:27:29
 
 
To
15/01/2019 06:44:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01664796
Message ID:
01665430
Views:
64
>>Why use classes? Procedural code gets the job done, right?
>
>Classes are for when there's data that must travel with the code. No point using a class for a bunch of functions that don't share data.

Disagree. Polymorphism, inheritance, hidden/protected functions, all unrelated to stored data within the class.

There are many reasons to use classes. Many capabilities there which are exposed. Not all of them are desirable all of the time.

"Not everyone is from Boston, John!"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform