Why and how you should comment your programming code

Share

Why and how you should comment your programming code

Comment your programming code is always a good idea, but if you need to comment a lot maybe your code is not as clean or readable as you thought. GameDev.net has a very interesting technical article about code commenting titled The Importance of Commenting Your Code where the author explains why you should comment your programming code and how to do it. His code commenting advices can be useful to beginner game programmers, but if you read the article user comments you can grab a lot of different points of view from veteran and experienced programmers.

From these user opinion it comes up that focusing on good programming practices could be a better way to ensure code readability without hindering your file with too many or improper comments.

The article and user comments reading is very interesting and can give you many hints to get good code commenting behaviour.

Leave a Comment