cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoSenior Wisdomlemmy.mlimagemessage-square59fedilinkarrow-up1731arrow-down19cross-posted to: programmerhumor@lemmy.ml
arrow-up1722arrow-down1imageSenior Wisdomlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square59fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up9·5 hours agoComment your code. Problem solved.
minus-squareipkpjersi@lemmy.mllinkfedilinkarrow-up1·32 minutes agoMake sure to remember to update your comments too, otherwise it causes even more confusion when something works differently than it says it does.
minus-squaresunbytes@lemmy.worldlinkfedilinkarrow-up5·4 hours agoAnd decent variable names if you can, as well. No magic numbers!
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up1·4 hours agoWYM, I can’t just name my functions foo() and my variables single letters? /s
Comment your code. Problem solved.
Make sure to remember to update your comments too, otherwise it causes even more confusion when something works differently than it says it does.
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