☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 months agoSenior Wisdomlemmy.mlexternal-linkmessage-square5fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkSenior Wisdomlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 months agomessage-square5fedilink
minus-square☂️-@lemmy.mllinkfedilinkarrow-up0·edit-22 months agocomment the code! tell future you why is that needed and what its doing.
minus-squareTamo240@programming.devlinkfedilinkarrow-up0·2 months agoWrite better code, with good names and sensible interfaces. Comments can get bugs just like code, but it doesn’t have a compiler or unit tests, so only code review keeps it aligned.
comment the code! tell future you why is that needed and what its doing.
Write better code, with good names and sensible interfaces. Comments can get bugs just like code, but it doesn’t have a compiler or unit tests, so only code review keeps it aligned.