this post was submitted on 23 Jun 2023
15 points (100.0% liked)

Programmer Humor

19572 readers
1653 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 3 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 2 points 1 year ago

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

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

When you're paid by LoC

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