+ 1

If it not displayed on screen so why we use this commet tag

13th Jan 2018, 6:10 PM
purushotam sahu
purushotam sahu - avatar
5 Respuestas
+ 5
You comment the code to help explain whats going on with it. So if you ever stop working on your project you can come back and easily understand what you were trying to do and how or if you ever release your code the next person can better understand it. The best code is heavily commented. Its good practice so id suggest you start doing it.
13th Jan 2018, 6:51 PM
Chris Martinez
Chris Martinez - avatar
+ 1
Not sure what you are asking. Please read this and give more information. https://www.sololearn.com/Discuss/333866/?ref=app
13th Jan 2018, 6:17 PM
John Wells
John Wells - avatar
+ 1
You put comments in coding so not only you remember what it is that that one section of coding is being used for, but for others who you give permission to that will assist you later on to be able to know what that section of coding is used for. Got to keep in mind that even as you are writing the code, you might take a break for a few days, and when you return to finishing the code off, now you have absolutely no clue what you were coding because of you having no comments to inform you, "oh, yes, this is so the program can do (fill in with function) so the program can(fill in with sections functions).
13th Jan 2018, 7:12 PM
JoLynn Lowe
JoLynn Lowe - avatar
0
Comments are very useful when you are viewing the code after a long time and want to find what a certain block of code does. Its useful while debugging too. It's helps to increase the code readability which means other person can read your code easily if you use comments. So it's a great idea to use comments in your code. So start using them in your code from now.
14th Jan 2018, 4:14 AM
Talluri Saisumanth
Talluri Saisumanth - avatar