Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject() vs NewObject()
Message
 
À
24/08/2007 13:07:50
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01249678
Message ID:
01250280
Vues:
31
Mike,

>Certainly it's true. If the factory always includes "additive" it will not forget to do it?

You are right, but then, the speed advantage of the SET PROC/LIB is mostly gone, right? You need to call it every time you call a method of your factory (if it needs it, of course) just to be absolutely certain your method will work (well, who can be absolutely certain in programming <g>)

[Update] By the way, I think I am making to much noise about nothing really important, sorry
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform