+ 1

How do you use <!-- Your comment goes here --> effectively

How and when do you use it and for what reason?

3rd Nov 2018, 11:26 AM
feitanllnexx
feitanllnexx - avatar
5 odpowiedzi
+ 11
Comments are used for the programmers to explain their works and for the human(people who can't write codes) to easily understand how the code works.
3rd Nov 2018, 12:43 PM
ᴰᴼᴹᴵᴺᴼ
ᴰᴼᴹᴵᴺᴼ - avatar
+ 2
Using comments is very important if you work in group. Thus, other can understand what you wanted to do and why.
3rd Nov 2018, 11:35 AM
Théophile
Théophile - avatar
+ 1
Refer: https://en.wikipedia.org/wiki/Comment_(computer_programming)
3rd Nov 2018, 12:56 PM
Suraj Jha
Suraj Jha - avatar
0
I think it's like leaving the notes for other people to understand what you are trying to do, like Note: "don't touch my cookies" and you stick it beside the cookie box😅
8th Sep 2021, 4:58 PM
Saw Shee
Saw Shee - avatar
- 1
xbhdjdkdnddbfbnamsmd g
14th Nov 2018, 2:27 AM
Indrajit Mukherjee
Indrajit Mukherjee - avatar