@[email protected] to Programmer [email protected] • 29 days agoSenior Wisdomlemmy.mlimagemessage-square64fedilinkarrow-up1804cross-posted to: [email protected]
arrow-up1804imageSenior Wisdomlemmy.ml@[email protected] to Programmer [email protected] • 29 days agomessage-square64fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink12•27 days agoAnd decent variable names if you can, as well. No magic numbers!
minus-square@[email protected]linkfedilink6•27 days agoWYM, I can’t just name my functions foo() and my variables single letters? /s
And decent variable names if you can, as well.
No magic numbers!
WYM, I can’t just name my functions
foo()
and my variables single letters? /s$retVal
and$item
are my personal favourite.