+ 1
What does mean comments? What are their fuctions?
Please help me I can not understanding it
2 Answers
0
Comments are there so someone else can better understand your code. Some examples of their use would be putting a comment before a function saying what the function does, or if you have a variable called size putting in a comment its unit such as inch or mmorpg so the code is more legible
+ 3
Jhonney Eduardo Correa
Often cited as one of the most useful and least used programming conventions, a comment is a text note added to source code to provide explanatory information, usually aboutthe function of the code. ... Peer developers sometimes assess code for the completeness and readability of its comments.
source: https://whatis.techtarget.com/definition/comment
I hope I was helpful