I am going to launch a rather large PHP application this summer, on which I will be the only developer (therefore, I do not have any coding conventions to fit my own).
PHP 5.3 is a decent IMO language, despite the dumb namespace token. But one thing that has always bothered me about this is the standard library and its lack of naming conventions.
So, I'm curious, would it be seriously bad practice to wrap some of the most common standard library functions in my own functions / classes to make names a little better? I believe that in some cases it can also add or change some functions, although at the moment I have no examples (I believe that I will find ways to make them OO or make them work a little differently while I work).
If you noticed that the PHP developer did this, you would think: "Man, is this one crappy developer?"
Also, I don’t know much (or anything else) about how and how PHP is optimized, and I know that usually PHP performace does not matter. But did something like this affect the performance of my application?
source
share