0

why we need to use single line comments the slashes tell the coiled to ignore everything that following until the end of line if we will not use // print " hello world " it will not changes statement

22nd Sep 2016, 9:44 AM
aakash purohit
aakash purohit - avatar
3 Respostas
+ 2
Use comments to put notes in your code or to dummy out a chunk of code you want to be able to put back quickly.
22nd Sep 2016, 10:38 AM
Zen
Zen - avatar
+ 2
We don't NEED to use comments, but they make life easier.
22nd Sep 2016, 12:46 PM
Andres Mar
0
you're right but you haven't understand something ,it is that the reason of using comments is improving the code's readability and enhancing our comprehension
4th Oct 2016, 5:25 AM
Sarra Samet
Sarra Samet - avatar