cm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agoSenior Wisdomlemmy.mlexternal-linkmessage-square64linkfedilinkarrow-up1812arrow-down19cross-posted to: [email protected]
arrow-up1803arrow-down1external-linkSenior Wisdomlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agomessage-square64linkfedilinkcross-posted to: [email protected]
minus-squaresunbytes@lemmy.worldlinkfedilinkarrow-up13·1 year agoAnd decent variable names if you can, as well. No magic numbers!
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up7·1 year agoWYM, I can’t just name my functions foo() and my variables single letters? /s
minus-squaresunbytes@lemmy.worldlinkfedilinkarrow-up6·1 year 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$retValand$itemare my personal favourite.