Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00116118
Vues:
24
>>A very wise man once told me, "Don't comment the obvious." -snip-
>>
>>Often what I do (and this, I think, is pretty common) is write the comments first, then fill in the code.
>
>I do the same thing, and basically I think we're saying the same thing here (haven't had enough coffee yet though to be sure ;)) I was just trying to point out the the formal technique of re-using your psuedocode as comments can easily lead one into the bad habit commenting the obvious. Now my new habit of commenting *why* I do a particular step often seems to be lean towards the obvious side of the fence at the time I write the code. But afterwards, like a few months later when I need to make a quick revision, it sure does pay off as far as readability and findability.
>
>=D)
I think we are saying the same thing. Of course, as I pointed out earlier, it is Friday, so you may be wise to ignore me today.;-)
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform