0

My question is that what is the use of comment commend? Commend below

<--! This is a comment -->

6th Jan 2017, 1:24 PM
Avi Katyura
Avi Katyura - avatar
6 Answers
+ 18
So that you can make non-programmers aware of what you have written or how it works
6th Jan 2017, 1:26 PM
Frost
Frost - avatar
+ 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.
6th Jan 2017, 1:31 PM
Jonas Fallmann
Jonas Fallmann - avatar
+ 2
Thank for your answers but can you explain me in brief or in simple English
6th Jan 2017, 1:35 PM
Avi Katyura
Avi Katyura - avatar
+ 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
6th Jan 2017, 3:17 PM
Ian
Ian - avatar
+ 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 &...
6th Jan 2017, 1:39 PM
Fuad Zarei
Fuad Zarei - avatar
0
In comment what we can write Codes or paragraph?
15th Jan 2017, 3:16 PM
Avi Katyura
Avi Katyura - avatar