Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 29 days agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square144fedilinkarrow-up11.53Karrow-down19file-text
arrow-up11.52Karrow-down1imageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 29 days agomessage-square144fedilinkfile-text
minus-squareTrailblazing Braille Taser@lemmy.dbzer0.comlinkfedilinkarrow-up67arrow-down1·29 days 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.