View Single Post
Old 02-29-2004, 07:09 PM  
KC
Confirmed User
 
Industry Role:
Join Date: Jan 1995
Posts: 2,417
Quote:
Originally posted by the Grandad
that removes comments, spaces, new lines, ect....

I have a great PHP script but the Author may as well be writing novel with the amount of useless comments in it. hehe
Comments in code is one of the most valuable things a programmer can do.

If you're worried about them effecting the performance of the scipts, you should install a PHP accelerator such as zend's or http://www.php-accelerator.co.uk/ which is free.

An accelerator will compile the script and cache it. (during the compile all of the comments are ignored)

However, if your script is slow, the code is the reason and those comments will help whoever works on it next.
__________________

Jupiter Hosting, Inc.
Vice President, Business Development
kc (AT) jupiterhosting.com
KC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote