+ 2

What is the use of comments, please tell me clearly. Thanks

15th Sep 2016, 6:04 AM
Harikant
Harikant - avatar
5 Answers
+ 5
The comments serve to make it as clear and readable code. Imagine to resume the development of a program in a long time! Also, when you have many lines of code, comments can be used as the section titles and serve to divide very long portions of code. Definitely you appreciate the usefulness of the comments!
15th Sep 2016, 6:50 AM
Richard Blackburn
Richard Blackburn - avatar
+ 2
Use comments to add notes to your code or to dummy out a block of code you want to be able to put back easily.
15th Sep 2016, 8:37 AM
Zen
Zen - avatar
+ 1
It serves as a guideline to remind you of what a particular line of code or blocks of code is used for. And it also makes it easier for anyone else using your codes to understand what is happening.
16th Sep 2016, 11:50 PM
Ogochukwu Nduka
Ogochukwu Nduka - avatar
+ 1
when you start coding a lot of lines you'll know the value if comments
30th Dec 2016, 3:01 AM
Abdel
Abdel - avatar
0
Thanks a lot for your valuable information.
15th Sep 2016, 12:00 PM
Harikant
Harikant - avatar