Commenting code bits

Commenting code bits
0

#1

is it neccesary to comment on lines of code


#2

Typically, comments should answer the question “Why was this coded this way?” Comments generally should avoid explicitly stating “what” the code is doing.


#3

Thank you sir for commenting