Thursday, June 24, 2010

Documenting PHP Code - does it hurt performance?

Programmer Question

I can't believe anyone would normally object to documentation and comments, but whats the best practice (and practical) for doing so in PHP?



In JavaScript, you can document your code and then run a minimizer to produce a production version of your code for use. What about in PHP, does the extra lines of text affect performance? Should you keep your documents in another file (which I imagine might be important for API's and frameworks but would slow down your development)?



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails