+ 3
What's the point of comments?
I read the comments in the Q&A section but I still do not understand why it should be used.
8 Réponses
+ 8
To make it easier for others to read it. When you work for a company you will have to put comments in your code. Otherwise other people may have difficulty in understanding your code.
You should use comments in any language. maybe except for HTML and XML
+ 6
For comment in your code. Suppose you have written a heavy code(large code). You cannot remember everything you comment for remember what is the purpose of this line. Again if you work in an company, you have write their front end or back end of website or any application program. A new guy/girl get the same job and how do he or she know what is the purpose of that line.
+ 4
It is useful for adding notation to the code without it appearing on the page when it is run.
+ 1
thanks everybody! Today is my second day learning code.
+ 1
to remember thing you did
0
Comments makes your code very ellegant i mean very clear so when your looking after some part from your web page you won't be struggling to find it 😁😉
0
learning code is getting more interesting