this post was submitted on 13 Jun 2023
21 points (92.0% liked)

Programmer Humor

19512 readers
314 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
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)
[–] [email protected] 2 points 1 year ago

return (x >= y); also works

[–] [email protected] 2 points 1 year ago

Assuming x and y are totally ordered 🤮

[–] [email protected] 2 points 1 year ago

Something something sufficiently advanced compiler should optimize it away