Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP IDE stinks at finding bad variable names in my code
Message
De
28/06/2009 12:34:54
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01399931
Message ID:
01408909
Vues:
102
>> Seems to be cathing a wave or something in the community.
>
>On the other side there's currently a movement to make variable names short and meaningless. The reasoning behind this is that the context in the method and the method name is explanation enough to make it obvious what the variable is used for. If the context isn't clear the method is too long and needs refactoring, anyway. I came across an article explaining this more in detail a couple of months ago, but I can't find the link right now...

In the end, it will be the best of both worlds. We'll get to fix code written using short and meaningless variable names in a method which was too long and the context was lurking somewhere in there but won't be easy to find...

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
Répondre
Fil
Voir

Click here to load this message in the networking platform