See how to use Better Comments to create better comments for your source code that can be easily read and understood based upon the type of each comment.
- [Narrator] In addition to writing good, … detailed docstrings, comments are … another important aspect of writing good code. … One of the main challenges with comments, however, … is that they are often used for a variety of purposes. … So let's open up our source code … and you can see what I mean here. … Comments can be used to indicate work items … in the form of to-dos, and sometimes … they warn developers of tricky situations, … sometimes they serve as reminders, … and other times they are used to actually document … how a particular part of the app works. … But visually, however, they look all the same. … You can see that in my code here, … that they're all the same green color. … Even though each of these comments … serves a different purposes, there's no visual distinction. … The Better Comments extension helps address this by making … different kinds of comments have their own appearance. … So once again, let's go to the extensions view, … and I'll search for Better Comments. …
Released
5/13/2019- Constructing a simple Python program in VS Code
- Editing, formatting, and refactoring Python code
- Debugging Python code
- Setting breakpoints
- Using Python docstring
- Creating better comments for your source code
- Using the REST Client extension
Share this video
Embed this video
Video: Better Comments