cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoWhen you look at code you wrote last yearlemmy.mlimagemessage-square20linkfedilinkarrow-up1667arrow-down18cross-posted to: programmerhumor@lemmy.ml
arrow-up1659arrow-down1imageWhen you look at code you wrote last yearlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square20linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarespartanatreyu@programming.devlinkfedilinkarrow-up3·2 months agoThis is why you’re meant to comment your code. Your code tells you “what”, your comments tell you “why”. Here’s a good review of comments in the redis codebase: https://antirez.com/news/124
This is why you’re meant to comment your code.
Your code tells you “what”, your comments tell you “why”.
Here’s a good review of comments in the redis codebase: https://antirez.com/news/124