Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crap code
Message
De
26/04/2021 16:15:30
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
23/04/2021 17:15:45
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01679827
Message ID:
01680022
Vues:
72
>>I inherited a bunch of crap code. I don't defend crap, even if I write it.

No judgment here, just celebrating all the ways to achieve the same goal in VFP, some of which look ugly but are speedy while others appear elegant but carry overhead. Substr() would be an obvious example of a concise but potentially inefficient way to get things done, depending on string size. I join these exchanges in case somebody else has gems to share on performance or entirely new ways to achieve goals.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform