this post was submitted on 23 Jun 2023
46 points (87.1% liked)

Programmer Humor

20275 readers
1108 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 2 years ago
MODERATORS
 
top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 2 years ago

When you're paid by LoC

[–] [email protected] 8 points 2 years ago (1 children)

So a syntax highlighted comment

[–] [email protected] 2 points 2 years ago

Which will be violently yeeted away by compiler optimisation

[–] [email protected] 3 points 2 years ago

I feel the need of putting a while(false) in my codebase now...

[–] [email protected] 2 points 1 year ago
def cosmic_ray_detector:
    while false:
        print("Cosmic ray detected!")
[–] [email protected] 1 points 2 years ago

This looks like very efficient code to me!