0

When do we need to add comment to our codes

when is comment necessary in our coding

1st Aug 2017, 9:41 PM
miracle
miracle - avatar
4 ответов
+ 1
just good practice. helps others know what you were doing with each part of your code. also helps you when you go back and look at it after a few weeks. don't have to wonder wth you were trying to do
1st Aug 2017, 9:43 PM
LordHill
LordHill - avatar
+ 1
you can add them in wherever you want to. comments can go anywhere they are specified.
1st Aug 2017, 9:59 PM
esenia
esenia - avatar
0
don't know it
1st Aug 2017, 9:42 PM
miracle
miracle - avatar
0
I comment my codes with the algorithm I use in it. I don't comment things like s++; // increment s instead i do s++; // check next number
2nd Aug 2017, 1:20 AM
Andrés04_ve
Andrés04_ve - avatar