Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yoda coding styles
Message
De
21/04/2006 12:41:31
 
 
À
21/04/2006 10:24:18
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01115355
Message ID:
01115470
Vues:
8
>Maybe we should have a programmer's oath - like the medical one. Do no harm. Don't write your code so it drives the next programmer crazy.

Not only I *always* lived by that code, I always considered that the next programmer might be me a few years down the road and I would have to remember what the hell I meant ate the time. Therefore I do not use abbreviations, obscure commands or Yoda-coding style and I always comment my programs.

Note: I did get to revisit my code 2-3 years later on occassion and patted myself for the ease of understanding of what was meant and why.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform