cm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agoSenior Wisdomimagemessage-square64fedilinkarrow-up1786cross-posted to: [email protected]
arrow-up1786imageSenior Wisdomcm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agomessage-square64fedilinkcross-posted to: [email protected]
minus-squaresunbytes@lemmy.worldlinkfedilinkarrow-up11·2 days agoAnd decent variable names if you can, as well. No magic numbers!
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up4·2 days agoWYM, I can’t just name my functions foo() and my variables single letters? /s
minus-squaresunbytes@lemmy.worldlinkfedilinkarrow-up4·2 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.