commenting code (was Re: [thelist] Tip)

Raymond Camden rcamden at allaire.com
Thu Feb 15 15:44:33 CST 2001


>
> 1) verbosity == file size == page load. Comments are good, but
> c'mon people,
> make them to the point, as they affect how quickly the browser can render
> the page. This includes server side comments as well (ASP, CF). The
> client/server parsing engine has to parse comments and code

Actually, I don't believe any amount of comments is going to slow down CF
any. Of course, if you put in 10k of comments that may be different, but
even _very_ verbose comments should have little to no impact on how fast CF
parses the template. As it stands, after it parses it once, it doesn't need
to create the pcode again.

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Allaire

Email   : jedimaster at allaire.com
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda





More information about the thelist mailing list