+ 2
What is the use of comments, please tell me clearly. Thanks
5 ответов
+ 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!
+ 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.
+ 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.
+ 1
when you start coding a lot of lines you'll know the value if comments
0
Thanks a lot for your valuable information.