View Single Post
Re: What are the best practices?
Old
  (#14)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: What are the best practices? - 14-07-2008

Quote:
Originally Posted by mirv View Post
Stumbled across this (some thoughts on when to document code), thought it could be a little relevant to this thread:
http://www.gamedev.net/community/for...ar=2008&cday=9
Lol. Commenting after a period of time to enforce code reviewing. It is a view i can share for some parts of it. But you actually have to take time for that; normally commenting is done 'within coding'. Meaning, whenever i get the order to code something, i do comments with them. Not only because it is 'fresh in memory', but also because i know there won't be a next time.

The only times i do add comments to pieces of code that i did not write in the first place, is code i need to touch anyway.

Good post though!


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote