Is that the best you’ve got?
So I'm always taking breaks from writing real code to check out an article ( or twenty ) about Php, seeing some patterns implemented, looking for best practices, etc. Last night I came across this tip that blew my mind in its complete impracticality. Now most uselsss Php tips and best practices I see have to do with insignificant things like micro optimizations and code commenting ( which I think is bad ) but this one just takes the cake.
In a nutshell the author recommends whipping out archaic instruments of the 20th century called pen and paper while your coding and writing down what the names of classes, variables, variables your using for what piece of functionality.
To me anyway the article writer completely misses the point of using an IDE with intellsense capabilities and also encapsulating your code into logically structured and named classes. I can just imagine some guy out there with reams of paper he can't search through hunting for what out if he used the $li variable before or not. How grossly unproductive can you get? Stopping every time you add a new variable to scribble its meaning on a piece of paper? Ick.
There isn't a larger point here although I'm tempted to mock the Php community for its… well… I'm just not going to go there. Anybody have any good Php resources they can recommend because I'm not exactly learning a lot with the resources I've found so far.
Posted via email from John’s posterous

