qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 11 months agoWorse than single letterslemmy.worldimagemessage-square19fedilinkarrow-up1290
arrow-up1275imageWorse than single letterslemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 11 months agomessage-square19fedilink
minus-squareowzim@lemmy.worldlinkfedilinkarrow-up3·11 months 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-squareqaz@lemmy.worldOPlinkfedilinkarrow-up1·edit-211 months 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.