qaz@lemmy.world to Programmer HumorEnglish · 1 year agoWorse than single letterslemmy.worldimagemessage-square29fedilinkarrow-up1324arrow-down116
arrow-up1308arrow-down1imageWorse than single letterslemmy.worldqaz@lemmy.world to Programmer HumorEnglish · 1 year agomessage-square29fedilink
minus-squareaksdb@feddit.delinkfedilinkarrow-up4·1 year 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.