Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 9 months agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square132fedilinkarrow-up11.55Kfile-text
arrow-up11.55KimageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 9 months agomessage-square132fedilinkfile-text
minus-squaremagic_lobster_party@kbin.runlinkfedilinkarrow-up2·edit-29 months agoJust having clear and concise variable names often goes a long way. Avoid using abbreviations. Breaking out the code into functions helps limit the number of variables within a scope, which makes it easier to name them.
Removed by mod
Just having clear and concise variable names often goes a long way. Avoid using abbreviations.
Breaking out the code into functions helps limit the number of variables within a scope, which makes it easier to name them.