this post was submitted on 13 Jun 2023
26 points (93.3% liked)

Programmer Humor

19197 readers
1488 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 1 year ago
MODERATORS
 
top 4 comments
sorted by: hot top controversial new old
[–] LordTCup@lemmy.ca 2 points 1 year ago* (last edited 1 year ago) (2 children)
[–] Beanie@programming.dev 2 points 1 year ago

return (x >= y); also works

[–] qwop@programming.dev 2 points 1 year ago

Assuming x and y are totally ordered 🤮

[–] JackbyDev@programming.dev 2 points 1 year ago

Something something sufficiently advanced compiler should optimize it away