Is it compulsory to use comments while coding? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it compulsory to use comments while coding?

17th Jun 2020, 9:56 AM
Chamal Weediyabandara
Chamal Weediyabandara - avatar
4 Answers
+ 4
No it is not compulsory Comments are used so that other user can understand our code easily It make the code more user friendly
17th Jun 2020, 10:00 AM
Runtime Terror
Runtime Terror - avatar
+ 3
It is not easy to understand the source code of other programmers so Comments are added with the purpose of making the source code easier for humans to understand, and are generally ignored by compilers and interpreters.
17th Jun 2020, 10:17 AM
Runtime Terror
Runtime Terror - avatar
+ 2
How to make the code user friendly ?
17th Jun 2020, 10:11 AM
Nitish Kumar Upadhyay
Nitish Kumar Upadhyay - avatar
+ 1
Now the correct answer of above question 👍. But this ans not justify my question, user friendly?
18th Jun 2020, 3:30 AM
Nitish Kumar Upadhyay
Nitish Kumar Upadhyay - avatar