+ 4
I dont understand why u need comment
6 ответов
+ 26
Make sure you comments your codes, label them, organized it and your comments will guide you through it... You should make that your habit commenting your codes is very important especially if someone else wanted to help you out it'll be life safer... 👍👍👍👍
+ 4
let me give u a scenario
I am coding a webpage of 2000 lines of code,
and then I go to sleep and after that I want to make change in a specific thing but how will I do it if I don't know where is it in the code that's where comments come to use u can use them as labels
+ 4
comments help in code maintance.For example, if you had to fix a bug in your 3000-line program, you would easily spot the problem with the help of comments. They also help others understand what your code is doing.If others need to improve it, they will quickly do it.
+ 3
For yourself and for others who want to modify or simply fix your bugs
+ 3
Comments can be extremely helpful if someone else is going through your code, or if you are returning to your OLD code
+ 1
So when you or other person opens your code after long time, the person should easily understand about the purpose behind writing tgat particular code.