cm0002@lemmy.world to Programmer Humor@programming.dev · 21 days agoSenior Wisdomlemmy.mlexternal-linkmessage-square64fedilinkarrow-up1789arrow-down17
arrow-up1782arrow-down1external-linkSenior Wisdomlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 21 days agomessage-square64fedilink
minus-squaresunbytes@lemmy.worldlinkfedilinkarrow-up12·19 days agoAnd decent variable names if you can, as well. No magic numbers!
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up5·19 days agoWYM, I can’t just name my functions foo() and my variables single letters? /s
minus-squaresunbytes@lemmy.worldlinkfedilinkarrow-up6·19 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.