qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years agoWorse than single letterslemmy.worldimagemessage-square23linkfedilinkarrow-up1301arrow-down115
arrow-up1286arrow-down1imageWorse than single letterslemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square23linkfedilink
minus-squareaksdb@feddit.delinkfedilinkarrow-up4·2 years agoYup, I also do that. If I just need a variable to put in what will be returned, I call it result. What it means should be clear from the function name. Repeating that feels redundant.
Yup, I also do that. If I just need a variable to put in what will be returned, I call it
result
. What it means should be clear from the function name. Repeating that feels redundant.