minus-squarespartanatreyu@programming.devtoProgrammer Humor@programming.dev•When you look at code you wrote last yearlinkfedilinkarrow-up2·3 days 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 linkfedilink
spartanatreyu@programming.dev to Bad UI Battles@programming.dev · 2 years agoI think this experiment I made in 2021 countsplus-squarecodepen.ioexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkI think this experiment I made in 2021 countsplus-squarecodepen.iospartanatreyu@programming.dev to Bad UI Battles@programming.dev · 2 years agomessage-square0fedilink
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