Is the comments is important in coding ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is the comments is important in coding ?

i feel that the comments in coding is not important, so Why should I learn it ?

21st Jan 2017, 6:46 PM
The Punisher
The Punisher - avatar
5 Answers
+ 2
Imagine I had a long code ( like this https://github.com/Yeo-Wen-Qin/betterdiscord-yuyuko-theme) which is like opening up a zip-bomb, how do I know where is where and which is which? Plus in CSS there are no such things as classes/methods to help you navigate your way. Your only bet is "ctrl + F" or comments.
21st Jan 2017, 6:53 PM
Wen Qin
Wen Qin - avatar
+ 1
i think it's a little bit important
21st Jan 2017, 7:18 PM
The Punisher
The Punisher - avatar
0
yeah. it will give you simple description about your code and make it easier to remember after sometime. it's also good to others who need to understand the code
21st Jan 2017, 6:50 PM
RanjOyHunTer
RanjOyHunTer - avatar
0
Comments are very useful when you're working with other developers, it allows them to quickly understand your code. when you're working alone it can still be useful for large projects, as you don't always remember what a piece of code does
21st Jan 2017, 6:51 PM
Chris Thornton
Chris Thornton - avatar
0
yes after you make your program you forget your code
21st Jan 2017, 7:11 PM
‎‏‪ Zain Alabdeen Ali‬‏‎
‎‏‪ Zain Alabdeen Ali‬‏‎ - avatar