cm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agoSenior Wisdomlemmy.mlimagemessage-square65fedilinkarrow-up1774arrow-down19cross-posted to: [email protected]
arrow-up1765arrow-down1imageSenior Wisdomlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agomessage-square65fedilinkcross-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.