Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Advantage and disadvantage of funct PRG
Message
De
05/12/2017 04:08:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
04/12/2017 18:06:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01656009
Message ID:
01656134
Vues:
90
>In my book such access paths should be shortened/automated, yes, but not via function or method call but by compiler constants -
>skip the overhead of calling in the next stack level (yes, I know without parameters calling is much faster...)
>If you keep all constants in upper case, whenever a constant shouts repeatedly in the code I am working on, I automatically cache the (possibly reached via long and convoluted way) access result in a local var ;-)

If it was possible to make them constant, with a predictable value known at compile time, then these would be constants. Life, however, has its own opinion and in many places we can't even have buttons, we must install a zipper. Flexibility frowns upon constants.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform