@cm0002@lemmy.world to Programmer Humor@programming.dev • 19 days agoSenior Wisdomlemmy.mlimagemessage-square64fedilinkarrow-up1801cross-posted to: programmerhumor@lemmy.ml
arrow-up1801imageSenior Wisdomlemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 19 days agomessage-square64fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@sunbytes@lemmy.worldlinkfedilink12•18 days agoAnd decent variable names if you can, as well. No magic numbers!
minus-square@ZILtoid1991@lemmy.worldlinkfedilink5•18 days agoWYM, I can’t just name my functions foo() and my variables single letters? /s
minus-square@sunbytes@lemmy.worldlinkfedilink5•18 days ago$retVal and $item are my personal favourite.
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.