From the course: Python Data Science Mistakes to Avoid

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Not writing comments

Not writing comments - Python Tutorial

From the course: Python Data Science Mistakes to Avoid

Start my 1-month free trial

Not writing comments

- [Instructor] One of the most common mistakes in programming, is not writing comments along the way. Writing comments is a simple, yet very crucial practice. Comments help you document your thought process behind your code, as well as how your code works. Often, when you're working on a large project, you may not complete the project in one sitting. It's more likely you'll be working on it across a period of time. So, if you maintain good documentation in your code, whenever you return to your work, you have all the notes you need to know exactly what your code does, and you can easily pick up where you left off. Also, when you're collaborating with a team, you will often find yourself sharing your code with your teammates, and vice-a-versa. Reading the comments that each team member wrote in their code, will help all of you understand what's happening, and ensure that all of the different pieces of the project fit…

Contents