Best way of writing comment | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Best way of writing comment

How we can right coments in best way. I mean in which statement we need to write coments . for example in decleration of variable or in method

15th Jul 2019, 1:51 PM
Anish Poudel
Anish Poudel - avatar
2 Answers
They can be useful at the start of objects to explain the purpose of the object. Either that or O tend to use them to group functions.
15th Jul 2019, 2:10 PM
josh mizzi
josh mizzi - avatar
29th Jul 2019, 11:32 AM
ramanadha reddy
ramanadha reddy - avatar