+ 1

What's the essence of making comments while coding

is it necessary to put comment while coding

1st Aug 2017, 9:38 PM
miracle
miracle - avatar
3 odpowiedzi
+ 2
putting comments in whichever language you do lets you leave any notes, and can be necessary to establish what you want the viewer of the code to do / know as well. its not mandatory for the browser or where you're running the code on, but it is a very handy way to keep notes.
1st Aug 2017, 9:42 PM
esenia
esenia - avatar
0
Comments are used to help you and others to understand quickly what a block of code is supposed to achieve, especially if it's not so obvious in first sight. So the comments highly increasing the readability of the code. And the good developers never avoiding them, because after some months it would take time to understand what they see. Instead they should spend that time in fixes of bugs and others.
1st Aug 2017, 11:22 PM
Boris Batinkov
Boris Batinkov - avatar