Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Documenting vs Commenting Code

In this lesson, you’ll learn about the differences between documenting and commenting so you can understand which approach to take in which situation.

You’ll see why commenting is important and cover some general commenting rules as well as some examples. You’ll also take a quick look at type hinting. To learn more, you can check out Python Type Checking and Type-Checking Python Programs With Type Hints and mypy.

bryangorges on March 9, 2020

If you don’t say “part 3” you will be able to insert other videos when the need arises.

keyurratanghayra on April 13, 2020

What was the pointer used to highlight Hash at 1:13?

Dan Bader RP Team on April 13, 2020

That’s the built-in pointer from Google Slides :)

Become a Member to join the conversation.