Python| Comments & Docstrings| PyDoc [Python Beginners Tutorial]

preview_player
Показать описание
Have you thought why do I need to comment my code every time?

In this video, I talk about comments and Docstrings in python and their various use cases.

Comments, although ignored by most beginners coders have a very important role to play in understanding 10k and 100k lines of code. Even when it is written by yourself.

Docstrings has its special place in defining methods, functions for a software development especially for API documentation in Python.
Ever wondered how to visualise Docstrings in your code?
What methods to use?

Let me know how do you use comments in your code. Any other use cases of comments and Docstrings in Python?

You can also find the text version of this tutorial on my website. The link for the text-based tutorial is :

Рекомендации по теме