Locked lesson.
About this lesson
Learn when and how to use comments in your code.
Exercise files
Download this lesson’s related exercise files.
Comments and C9 Transition - Solution.docx57.4 KB Comments and C9 Transition.docx
57.2 KB
Quick reference
Comments and C9 Transition
Comments are important to all coding.
When to use
You should use comments at the beginning of every major block of code, or whenever you write particularly complicated code.
Instructions
Comments are created with #
# This is a comment.
Please note that since this course was originally recorded, the C9 coding environment John uses in some of the videos in this course was shut down. John encourages everyone to use Sublime Text instead and explains the similarities between the two coding environments in the lesson.
Hints & tips
- Comments are very important
- # this is a comment
- comments use the hashtag #
Lesson notes are only available for subscribers.