|
Posted by Captain Paralytic on 01/29/07 14:00
On 29 Jan, 13:40, "P Pulkkinen"
<perttu.POISTATAMA.pulkki...@POISTATAMA.elisanet.fi> wrote:
> This all below is my opinion, not any official post though...
>
> 1) have a debugging/error handling system. It is not so difficult to make, I
> have made one myself and it really often helped us in development.
>
> 2) test code ALL the time, after every couple of lines, not in big chunks.
>
> 3) leave debugging features inside, even if you use simple lines like:
> echo "now variable i = $i";
> comment it, when you don't need it, but keep it there!
>
> 4) name varables in a way that even others understand them
> $person['phone'] is good name , $p['p'] is bad.
>
> 5) put useful comments here and there. don't think commenting is waste of
> time. avoid excessive egoboost comments, though.
What has this got to do with the original subject?
[Back to original message]
|