Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Library objects or library routines ?
Message
From
12/07/2000 10:54:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Library objects or library routines ?
Miscellaneous
Thread ID:
00391234
Message ID:
00391234
Views:
45
Hi,

I am deciding where to place routines: in library objects or library routines.

In 2.6 I use PROCEDURE files or otherwise place them in the calling path. In VFP, USE PROCEDURE ADDITIVE seems a very attractive alternative because it allows organization of routines. However, many say that the OOP way is to keep routines as methods of objects.

I understand that Drew Speedy prefers library routines over library objects unless you anticipate subclassing them in the future. Among his reasons are speed and the fact that they automatically participate in the data session in which they are called.

What do people here actually DO ?

TIA,

Alex
Next
Reply
Map
View

Click here to load this message in the networking platform