- 1

What is the use of acomment?

30th Mar 2017, 6:04 PM
Ishan Barnwal
Ishan Barnwal - avatar
4 Answers
+ 3
To make yourself some notes about the algorythm, or to make it more readable for others.
30th Mar 2017, 6:06 PM
Welliton Malta
Welliton Malta - avatar
+ 2
I don't know about you, but most people don't remember their entire code after like a month. Comments are there to remind us what we did, and why we did.
30th Mar 2017, 6:08 PM
Dennis - avatar
+ 2
commenting your code is a very good programmer practice. it helps you remember what code does what in your code and also makes your code easy to read by you or someone going through it.
30th Mar 2017, 6:15 PM
Peters Chikezie
Peters Chikezie - avatar
used to keep info that you don't want to go back though all of your script to fine for example an intager
4th Apr 2017, 3:57 AM
Will Shep
Will Shep - avatar