General information
Category:
Object Oriented Programming
Title:
Library objects or library routines ?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only