cm0002@lemmy.zip to Programmer Humor@programming.dev · 2 months agoMore code = more betterlemmy.zipimagemessage-square90linkfedilinkarrow-up1627
arrow-up1627imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 2 months agomessage-square90linkfedilink
minus-squareEvilHankVenture@lemmy.worldlinkfedilinkarrow-up7·2 months 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.