








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Guidelines for writing self-documenting code and effective comments. Topics include the importance of programming style as documentation, self-documenting code guidelines, effective commenting techniques, and the importance of maintaining clear and concise comments. The document also emphasizes the importance of trying to improve the code so that less commenting is needed.
Typology: Slides
1 / 14
This page cannot be seen from the preview
Don't miss anything!









1
2
4
5
7
8
module: GIGATRON.C author: Dwight K. Coder date: July 4, 2014 purpose: Routines to control the twenty-first century’s code evaluation tool. The entry point to these routines is the EvaluateCode() routine at the bottom of this file.
************************************************/
10
11
13
Include other facts about the code: algorithm source, interface assumptions, limitations, etc.
Describe the purpose of each file
List the author’s name and phone number
Try to improve code so that less comments will be needed
Write comments only for something that the code cannot say
14