a = a ^ b
b = a ^ b
a = a ^ b
this post was submitted on 12 Jun 2023
9 points (100.0% liked)
Programmer Humor
37227 readers
22 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
I raise you
@lambda _: _()
def result() -> int:
global a; global b; a, b = b, a
hat tip to @sisyphean@programming.dev via Cursed Python