Sign in

Comments are descriptions that are usually written while coding to enhance the readability and to better understand the functionality of the program. They are ignored by the interpreter while running the code.

PC: Pixabay

Significance of commenting:

  • In an organization, while working on a team, it is customary for many programmers to work on the same project. So it is always a good practice to write well commented function or logic to help the team understand.
  • When reading or editing your own code, after a couple of months, it can be difficult to comprehend the program and can consume hours to understand what’s what! …

Divvya T.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store