Comments on code (14/28)

Writing comments on your code might seem extra work, but it goes a long way when you revisit your code to debug. You might forget about a use-case and wonder why you added a certain chunk of code. That’s where these comments help out. Even if other developers are not going to use the code, always add comments.

Contributor: Prajacta Khopkar from robustwealth.com

Written by Nathaniel Fried

Co-founder of Fupping. Busy churning out content and building an empire.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.