Hey PF. I'm trying to build some better coding habits, so what tips do you guys have? Of course there are obvious things such as well-commented code, neat structure, etc...
But I'm looking for some more "TECHNICAL" tips that might be unspoken. For example, when is a good time to use a variable, opposed to a constant? I notice that a lot of programmers define their database settings with define(), while others just use a $variable. Is this personal preference or maybe its something I'm missing?
I'm looking for ALL tips. Any information that you have, please share it. It will help make me (And anyone else reading this), a better coder.
Thanks in advance.
and if this is not the proper forum, please move it! =]