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.
Become a Member to join the conversation.