Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date Filter on Form doesn't work properly
Message
 
À
23/04/2010 10:31:07
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01461572
Message ID:
01461741
Vues:
72
>Hi Hugo
>
>Wouldn't execscript be heavy overkill?

Yes, I first put the macro but for some reason I changed my mind afterward.

>I just had a thought triggered by your quote of premature optimization being the root of evil in programming.
>
>If I use drywall and two-by-fours to build a house instead of toothpicks, I have chosen to optimize the construction process before the house is built rather than having built it with toothpicks and then throwing it all away. If I chose techniques that result in quickly built, reliable code, that is also fast, then IMO the evil is in not building optimal code in the first place, no?

Well, optimization is a trade-off; you sacrifice memory in favor of, let's say speed, speed in favor of reliability, reliability in favor of price etc. so when you say that you chose techniques that result in quickly built, reliable code that is also fast (you forgot to say it is also cheap ;)), and then label it as optimal, it looks like your conclusion is premature indeed :)
"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
Répondre
Fil
Voir

Click here to load this message in the networking platform