0
I wanted to ask what is the use of comment when it doesn't output anything
5 ответов
+ 1
I would also say that it helps you remember what the goal of a specific segment of code is. When writing advanced programs, you want to be able to refer to a specific section quickly.
0
for sharing the code for other programmers?
0
thx
0
Helps someone who comes in and takes a look at your code understand what each function performs if you write good comments. Helps for troubleshooting.
0
comments can be referred to as one form of documentation. For example for what purpose a particular variable or function is used. So that whenever our code is being referred by other programmer it is easy to understand.