qaz to Programmer Humor@lemmy.mlEnglish • 2 years agoWorse than single letterslemmy.worldimagemessage-square30fedilinkarrow-up1322arrow-down116
arrow-up1306arrow-down1imageWorse than single letterslemmy.worldqaz to Programmer Humor@lemmy.mlEnglish • 2 years agomessage-square30fedilink
minus-square@owzim@lemmy.worldlinkfedilink3•2 years agoAs someone who uses ‘result’ as a variable name in functions all the time, please tell me what you think is wrong with it? If a function is called for example ‘transformAtoB’ it should be totally obvious what the variable will contain.
minus-squareqazOPlinkfedilink1•edit-21 year agoIt’s not necessarily bad, it just provides very little information.
As someone who uses ‘result’ as a variable name in functions all the time, please tell me what you think is wrong with it?
If a function is called for example ‘transformAtoB’ it should be totally obvious what the variable will contain.
It’s not necessarily bad, it just provides very little information.