commenting code (was Re: [thelist] Tip)

Warden, Matt mwarden at odyssey-design.com
Thu Feb 15 16:28:34 CST 2001


> > As far as I'm concerned, the above example should be
> >
> > <!--     BEGIN CONTENT     -->
>
> Or even:
>
> <% ' BEGIN CONTENT %>
>
> (Or your nearest scripting equivalent)
>
> That way you don't serve your comments. I've even started getting really
> verbose in the ASP comments, leaving instructions about page structure, what
> not to do when editing this file, etc. Because the server strips it all out
> before it's served, it doesn't affect page download time.

I don't know if that helps at all, because you're starting a new code block
just for a comment. Processing time is part of perceived download time.



--
mattwarden
mattwarden.com






More information about the thelist mailing list