Commenting code BY SANJAY AND ARVIND SESHAN Lesson

Commenting code BY SANJAY AND ARVIND SESHAN Lesson
1 / 1
Commenting code BY SANJAY AND ARVIND SESHAN Lesson - slide 1 of 6 Commenting code BY SANJAY AND ARVIND SESHAN Lesson - slide 2 of 6 Commenting code BY SANJAY AND ARVIND SESHAN Lesson - slide 3 of 6 Commenting code BY SANJAY AND ARVIND SESHAN Lesson - slide 4 of 6 Commenting code BY SANJAY AND ARVIND SESHAN Lesson - slide 5 of 6 Commenting code BY SANJAY AND ARVIND SESHAN Lesson - slide 6 of 6
Commenting code BY SANJAY AND ARVIND SESHAN Lesson Objectives Learn how to comment code Learn the importance of commenting code Learn what makes useful comments Copyright 2020 Prime Lessons (primelessons.org) CC-BY-NC-SA. (Last edit:

Related Topics

Download this presentation From Below

"Commenting code BY SANJAY AND ARVIND SESHAN Lesson" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
Commenting code BY SANJAY AND ARVIND SESHAN<br>
02
Lesson Objectives Learn how to comment code
Learn the importance of commenting code
Learn what makes useful comments Copyright © 2020 Prime Lessons (primelessons.org) CC-BY-NC-SA. (Last edit: 1/9/2020) 2<br>
03
Why bother with comments? Comments in code help the author of the code remember what they were trying to accomplish.
You can use them to record the goals or pseudocode for the code.
It makes it easier to debug
You could use it to take notes on values
More importantly, comments allow someone other than the author of the code to understand the program.
Get into the habit of adding comments to your code Copyright © 2020 Prime Lessons (primelessons.org) CC-BY-NC-SA. (Last edit: 1/9/2020) 3<br>