this post was submitted on 29 Aug 2025
96 points (94.4% liked)

Programmer Humor

26135 readers
1167 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
 

A 'real' O(1) sorting algorithm ๐Ÿคฃ

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 01189998819991197253@infosec.pub 15 points 6 days ago (2 children)

So... ... a sorting algorithm that uses a wankton of energy and gets the sort order wrong sometimes. Um... why, though?

[โ€“] Heavybell@lemmy.world 22 points 6 days ago

I still recall to this day, one of my university tutors talking about the C fastmath compiler directive: "I do not need a computer to arrive very, very quickly at the wrong answer; I can do that myself."

It's good to see that with applications of modern comp-sci we have graduated to arriving very, very slowly and at great expense at the wrong answer.

[โ€“] sp3ctr4l@lemmy.dbzer0.com 2 points 4 days ago (1 children)

Because bogo sort isn't funny enough.

Lol bogosort! There's a term I haven't heard in a while