650
you are viewing a single comment's thread
view the rest of the comments
[-] EvilHankVenture@lemmy.world 7 points 10 months ago

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.

this post was submitted on 13 Dec 2025
650 points (97.7% liked)

Programmer Humor

33716 readers
1266 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS