cm0002@lemmy.zip to Programmer Humor@programming.dev · 8 days agoMore code = more betterlemmy.zipimagemessage-square81linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 8 days agomessage-square81linkfedilink
minus-squareEvilHankVenture@lemmy.worldlinkfedilinkarrow-up0·8 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.