Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() vs NewObject()
Message
 
To
24/08/2007 13:07:50
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01249678
Message ID:
01250280
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform