Andromxda 🇺🇦🇵🇸🇹🇼 to Programmer [email protected]English • 10 months agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square146fedilinkarrow-up11.55K
arrow-up11.55KimageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼 to Programmer [email protected]English • 10 months agomessage-square146fedilink
minus-square@[email protected]linkfedilink2•10 months agoNah. It should be obvious by just looking at it in code. If it isn’t, you haven’t extracted single purpose methods out of it yet.
minus-squaremagic_lobster_partylinkfedilink2•edit-210 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.
Nah. It should be obvious by just looking at it in code. If it isn’t, you haven’t extracted single purpose methods out of it yet.
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.