this post was submitted on 23 Jun 2023
41 points (87.3% liked)

Programmer Humor

19544 readers
642 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 6 comments
sorted by: hot top controversial new old
[–] psilocybin@discuss.tchncs.de 8 points 1 year ago (1 children)

So a syntax highlighted comment

[–] watermelonsushi@lemmy.fmhy.ml 2 points 1 year ago

Which will be violently yeeted away by compiler optimisation

[–] Hupf@feddit.de 7 points 1 year ago

When you're paid by LoC

[–] Brisolo32@lemmy.eco.br 3 points 1 year ago

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

[–] darcy@sh.itjust.works 2 points 1 year ago
def cosmic_ray_detector:
    while false:
        print("Cosmic ray detected!")
[–] michael@lemmy.perthchat.org 1 points 1 year ago

This looks like very efficient code to me!