Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 5 months agoHow programmers comment their codelemmy.dbzer0.comexternal-linkmessage-square127fedilinkarrow-up11.47Karrow-down18file-text
arrow-up11.46Karrow-down1external-linkHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 5 months agomessage-square127fedilinkfile-text
minus-squareTrailblazing Braille Taser@lemmy.dbzer0.comlinkfedilinkarrow-up66arrow-down1·5 months agoThe best comments are “why” comments, the runner up is “how” comments if high-level enough, and maybe just don’t write “what” comments at all because everyone reading your code knows how to read code.
The best comments are “why” comments, the runner up is “how” comments if high-level enough, and maybe just don’t write “what” comments at all because everyone reading your code knows how to read code.