Importance of using comments tag? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Importance of using comments tag?

As we use comment tag what is it's benefits as it doesn't show on browser.

17th Feb 2017, 5:02 AM
RAVISH KUMAR
RAVISH KUMAR - avatar
2 Antworten
0
It will be easy for others to understand your code. comments will help understand code easily even if you come back after a long time. Writing comments is a very good habit and is very useful and efficient when more people are working on same thing as it helps to understand code easier.
17th Feb 2017, 5:44 AM
vivek
vivek - avatar
0
Comments are readable explanation. With the help of comments any source code becomes easy to understand. One should write in the comments why and how did he come up to the particular solution. It is useful for self as well as for any person who will be reading the code. Using comments in the code is always a good practice and believe me, people will love you when they read your code.
17th Feb 2017, 5:45 AM
[No Name]
[No Name] - avatar