@cm0002@lemmy.world to Programmer Humor@programming.dev • 5 days agoSenior Wisdomlemmy.mlimagemessage-square65fedilinkarrow-up1798arrow-down19cross-posted to: programmerhumor@lemmy.ml
arrow-up1789arrow-down1imageSenior Wisdomlemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 5 days agomessage-square65fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@sunbytes@lemmy.worldlinkfedilink11•3 days agoAnd decent variable names if you can, as well. No magic numbers!
minus-square@ZILtoid1991@lemmy.worldlinkfedilink4•3 days agoWYM, I can’t just name my functions foo() and my variables single letters? /s
minus-square@sunbytes@lemmy.worldlinkfedilink4•3 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.