Stop Telling People to Optimize, and Start Teaching Them to Program
Marco Tabini pointed today to an article on the Google Code titled Let's make the web faster, PHP performance tips. The article point to some coding tips written by Google webmaster Eric Higgins about variables usage, echo, if/switch cases ...
this article relates primarily to what are usually termed "micro" optimizations—that is, small tweaks that you can make to your code to yield some measure of improvement in your performance or, as is the case with a number of the suggestion in the post by Eric Higgins, in the readability of your code
The idea of using such tips without understanding them is not useful at all, especially that this is only micro optimizations only as Marco pointed in his article. It will be more useful if these guides teaches developers to program correctly and so they can use each functions in its correct place.










PHP Community Magazine's RSS
