Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 3 months agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square25fedilinkarrow-up15arrow-down10file-text
arrow-up15arrow-down1imageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 3 months agomessage-square25fedilinkfile-text
minus-squareMartin@feddit.nulinkfedilinkarrow-up1·3 months agoComments should explain “why”, the code already explains “what”.
minus-squaresmeg@feddit.uklinkfedilinkEnglisharrow-up1·edit-23 months agoThe allowable exception is when the what is a what the fuck, as in you had to use a hack so horrible that it requires an apology comment
Comments should explain “why”, the code already explains “what”.
The allowable exception is when the what is a what the fuck, as in you had to use a hack so horrible that it requires an apology comment