Python Commenting Best Practices and Tips
It is important to write comments that are readable and easy to understand. This lesson covers best commenting practices you can follow when writing code for yourself or for others. You’ll see how comments can be useful in breaking down problems into manageable parts, when debugging, and in making your code clearer for other developers.
The lesson also covers practices you should avoid when commenting, such as repeating yourself, code smells, and using rude comments.
Become a Member to join the conversation.