qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months agoWorse than single letterslemmy.worldimagemessage-square29fedilinkarrow-up1323arrow-down116
arrow-up1307arrow-down1imageWorse than single letterslemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months agomessage-square29fedilink
minus-squarePxtl@lemmy.calinkfedilinkEnglisharrow-up7·10 months agoExactly. If it’s a statically typed language and the function has a clear name? I know what type it is, I know what it’s for, I’m good. There are far worse sins, like intermediate variables or worse, public class members named “obj” or “data”.
minus-squareqaz@lemmy.worldOPlinkfedilinkarrow-up1·10 months agoGitHub doesn’t show types. So if the value is given to another function you would have no way of knowing what type it is unless you read the file that other function is declared in.
I’m good with this in C#
Exactly. If it’s a statically typed language and the function has a clear name? I know what type it is, I know what it’s for, I’m good.
There are far worse sins, like intermediate variables or worse, public class members named “obj” or “data”.
deleted by creator
GitHub doesn’t show types. So if the value is given to another function you would have no way of knowing what type it is unless you read the file that other function is declared in.