cm0002@lemmy.zip to Programmer Humor@programming.dev · 7 days agoMore code = more betterlemmy.zipimagemessage-square51fedilinkarrow-up1550arrow-down114
arrow-up1536arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 7 days agomessage-square51fedilink
minus-squareEvilHankVenture@lemmy.worldlinkfedilinkarrow-up5·7 days agoIn most languages I’ve seen - is both a unary negation operator and a subtraction operator depending on context. So it would negate an integer literal or a variable in this context.
In most languages I’ve seen - is both a unary negation operator and a subtraction operator depending on context. So it would negate an integer literal or a variable in this context.