0
My question is that what is the use of comment commend? Commend below
<--! This is a comment -->
6 ответов
+ 18
So that you can make non-programmers aware of what you have written or how it works
+ 6
Simplify your code for other programmers.
If you have to read the code of someone else comments are great for better understandment.
There is another use-case: Think about having a Project with 10000+ lines of code. Comments will help you to understand what you thought about this certain block of code you wrote weeks ago.
+ 2
Thank for your answers but can you explain me in brief or in simple English
+ 2
you use them to find sertan parts of your code if you made a app like marrio then you would have to made obstacles and the background and the character. when you do something like that you use lots of code and if there is an error and you have to go back to fix it then it is very important to be able to look at a comment and see what the bugged code is and what it is ment to do so You can fix it
+ 1
Hi there
first imagine you have a lot of codes for just one last year, and now you need one of them,if you have comments there, you can remember very easy & fast what your code do & what is inputs & outputs &...
0
In comment what we can write
Codes or paragraph?