More detail of comment | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

More detail of comment

<!-- This is a comment-->

18th Jun 2016, 5:58 AM
Anuj
3 Answers
+ 2
Comments are "non executable" parts of a code. A programmer writes a code according to his own algorithm which might not be understood by another programmer reading the code. Well written comments which provide information as to what a part of the code is doing will help the reader understand the code.!!!
18th Jun 2016, 11:08 AM
Mohammad Fahad Sayed
Mohammad Fahad Sayed - avatar
+ 1
Comments help the people programming see which parts are which parts of the game. Comments are wrote like this: // This is a comment
19th Jun 2016, 11:17 PM
Mr. Birdie
Mr. Birdie - avatar
+ 1
//This is a comment
20th Jun 2016, 11:55 PM
sudesh