Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edited PRG, now want it back the way it was
Message
De
14/06/2007 22:11:19
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
14/06/2007 19:21:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Windows
Catégorie:
Informatique en général
Divers
Thread ID:
01233264
Message ID:
01233357
Vues:
12
I always use
* JJ - DEBUG - START

Code block

* JJ - DEBUG - END
Then change it to my standard defect comment when I'm ready to check stuff into source control. Helps me find stuff I'm working on.


>I do pretty much the same - I comment out pieces of code, and wait about a dozen iterations before deleting stuff. I also write a comment explaining why is this commented out, so when the time comes to clean up, I know why was it there, and why (or whether) it should vanish.
>
>As for the !!! - accidentally, I've done exactly that today for the first time; my traditional mark was $$. Another habit is one I picked from Steven Black:
>
>*!* !!! KLUDGE ALERT !!!
>
>He uses that (albeit he spells it "KLUGE") for special cases when there's a need for a nasty workaround, going against the framework, or there's a hotfix patch which would need to be done right once time permits. And, of course, there's a matching "END ALERT" comment after that block of code.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform