5) Comment, a lot!
Just wanted to qualify this piece of advice.
You should comment appropriately, which is not necessarily the same
as commenting a lot. Comments such as...
// Increase the value of i by 5
i += 5;
...are no good to anyone. Instead, explain why 5 is being added to i,
unless the surrounding code makes it obvious.
Also, make sure that the comments you do make are kept up to date
when changing code. It's completely baffling to read a comment that
has little or no bearing to the code now surrounding it because it
got left behind.
I'd also add one piece of advice of my own...
6) Use subversion or some other form on source code control
Saved my bacon on more than a few occasions!
Steve
--
Steve Webster
Head of Development
Featurecreep Ltd.
www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders