Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Library objects or library routines ?
Message
De
12/07/2000 10:54:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Library objects or library routines ?
Divers
Thread ID:
00391234
Message ID:
00391234
Vues:
44
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform