Pls ladies and gentlemen lets be adding comments to every lines of our code for the beginners here to learn. Thanks. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Pls ladies and gentlemen lets be adding comments to every lines of our code for the beginners here to learn. Thanks.

Pls ladies and gentlemen lets be adding comments to every lines of our code for the beginners here to learn. Thanks.

25th Mar 2017, 6:24 AM
Elvis Chima
Elvis Chima - avatar
3 Answers
+ 17
Like // prints 1 System.out.print(1); Please no. Just add useful comments for code that is hard to understand. Maybe what the code is about at the very top.
25th Mar 2017, 8:10 AM
Tashi N
Tashi N - avatar
+ 6
Somewhere you are right even comment every lines seems hard, I believe a mix of comments and understable var/functions names is enough. But as you said many people begin here and probably type code without really know what they are fully doing... but comment force beginners to understand their own work :3
25th Mar 2017, 7:39 AM
Geoffrey L
Geoffrey L - avatar
+ 1
Coming up with an idea. You should try writing a novel based on a code. Gonna enjoy it. No need for hurry to downvote. Just imagine.
25th Mar 2017, 5:13 PM
Alex Snaidars
Alex Snaidars - avatar