what is the uses of comment ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is the uses of comment ?

12th Jun 2018, 7:35 PM
Navindra.M
Navindra.M - avatar
5 Answers
+ 2
Comments are used to help you understand your code latee on when you come back to it. Or to explain to someone who is going through your code. Or for being silly. Or to remind yourself to change a variable or add a method that you played around with for testing purposes. Whenever you are coding and want to type something (informative or useless, the former is recommended) you can use comments.
12th Jun 2018, 7:56 PM
Andre Daniel
Andre Daniel - avatar
+ 1
thanks you for explaining about comments.
12th Jun 2018, 8:00 PM
Navindra.M
Navindra.M - avatar
+ 1
the purpose of coments in the programming is to understand what the codes are doing.
14th Jun 2018, 5:37 AM
Yadhu krishnan.k.a
Yadhu krishnan.k.a - avatar
+ 1
Andre Daniel always welcome
14th Jun 2018, 9:17 AM
Yadhu krishnan.k.a
Yadhu krishnan.k.a - avatar
0
Yadhu krishnan.k.a yes...as I explained. Thanks for trying to help regardless.
14th Jun 2018, 5:39 AM
Andre Daniel
Andre Daniel - avatar