751
Not my problem sort (infosec.pub)
you are viewing a single comment's thread
view the rest of the comments
[-] state_electrician@discuss.tchncs.de 133 points 2 weeks ago

My favorite is StalinSort. You go through the list and eliminate all elements which are not in line.

[-] pyre@lemmy.world 51 points 2 weeks ago* (last edited 2 weeks ago)

you should post this on lemmy.ml

[-] affiliate@lemmy.world 31 points 2 weeks ago

it would be a pretty funny post for the full 5 minutes it would last until it got stalin sorted out of lemmy.ml

[-] magic_lobster_party@fedia.io 3 points 2 weeks ago

They would see nothing wrong with it

[-] JackbyDev@programming.dev -2 points 2 weeks ago
[-] brian@programming.dev 1 points 2 weeks ago

this isn't a community that they moderate tho

[-] JackbyDev@programming.dev 1 points 2 weeks ago

Moderators don't have to come from the instance the community is hosted on necessarily.

[-] luciferofastora@lemmy.zip 1 points 1 week ago

No, but the point is that posting "Stalin executes people" jokes in .ml-run communities would not go over well.

[-] Incandemon@lemmy.ca 4 points 2 weeks ago

I tend to prefer Hiroshima sort. Sorting completed in O(1) time, and it frees up memory too.

[-] 0x4E4F@infosec.pub 1 points 2 weeks ago

Underrated comment.

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

Programmer Humor

19623 readers
1 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