0
Is comments necessary?
3 Respostas
0
If you're within a team then that means you'll look at code that you didn't write and your peers will look at code that you wrote. It's best to offer comments as a source of documentation. It's a good habit to pick up on even if you're not within a team. Also, what if you referred to code that you previously written like, several months back or even a year. Just write comments.
+ 1
not necessary
but it is beneficial, when you write thousand lines code so our comments can make us understand what is this code for
0
I prefer comments as it helps you and other programmers to read and maintain it easily. It can safe you time at the end of the day!