ASP Best Practices

Previous Topic Next Topic

Comments To Explain Obscure Code

Use comments to explain obscure or complex code—any coding that would take a script author more than a few seconds to decipher. Do not leave a phrase such as the following without a comment:

If Err = LOCK Then

Scripts that are commented out should be deleted unless they are placeholders, in which case they should be labeled as such.


© 1997-1999 Microsoft Corporation. All rights reserved.