Commenting code bits

is it neccesary to comment on lines of code

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

1 Like

Thank you sir for commenting