0

I wanted to ask what is the use of comment when it doesn't output anything

5th Jan 2017, 4:01 AM
MOSES DYE
MOSES DYE - avatar
5 odpowiedzi
+ 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.
5th Jan 2017, 4:14 AM
Benjamin Glick
Benjamin Glick - avatar
0
for sharing the code for other programmers?
5th Jan 2017, 4:02 AM
MOSES DYE
MOSES DYE - avatar
0
thx
5th Jan 2017, 4:17 AM
MOSES DYE
MOSES DYE - avatar
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.
18th Jan 2017, 4:13 AM
mike
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.
1st Feb 2017, 1:58 PM
MISHRI PATEL
MISHRI PATEL - avatar