Comment on Bill is a pro grammer

<- View Parent
heikomat@lemmy.world ⁨10⁩ ⁨months⁩ ago

Exactly that! Everyone can See “what” is happening, thr code is right there. But the code usually doesn’t tell you “why” that is happening - good comments help understand the authors intent and give context, so you don’t have to guess.

Good comments should explain the things that are not obvious.

Good comments more than once prevented me from accidentially undoing a fix.

source
Sort:hotnewtop