this post was submitted on 23 Jun 2023
44 points (86.7% liked)

Programmer Humor

19623 readers
96 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
[–] Hupf@feddit.de 8 points 1 year ago

When you're paid by LoC

[–] 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

[–] 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!