this post was submitted on 08 Nov 2024
750 points (98.2% liked)

Programmer Humor

19623 readers
4 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] Allero 28 points 2 weeks ago (10 children)

The most beautiful thing about this program is that it would work.

Various bit flips will once lead to all numbers being in the correct order. No guarantee the numbers will be the same, though...

[–] fallingcats@discuss.tchncs.de 8 points 2 weeks ago (2 children)

Those bitflips are probably more likely to skip the section erroneously than waiting for the array to be sorted.

[–] Allero 2 points 2 weeks ago (1 children)

Fair enough! But won't they flip again to start the program?

[–] fallingcats@discuss.tchncs.de 2 points 2 weeks ago

The OS would crash entirely before that happens

load more comments (7 replies)