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

Programmer Humor

19551 readers
1017 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
[–] state_electrician@discuss.tchncs.de 132 points 6 days ago (2 children)

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

[–] pyre@lemmy.world 49 points 5 days ago* (last edited 5 days ago) (3 children)

you should post this on lemmy.ml

[–] affiliate@lemmy.world 30 points 5 days 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 5 days ago

They would see nothing wrong with it

[–] JackbyDev@programming.dev -2 points 5 days ago (1 children)
[–] brian@programming.dev 1 points 5 days ago (1 children)

this isn't a community that they moderate tho

[–] JackbyDev@programming.dev 1 points 5 days ago (1 children)

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

[–] luciferofastora@lemmy.zip 1 points 3 days 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 5 days ago (1 children)

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

[–] 0x4E4F@infosec.pub 1 points 5 days ago

Underrated comment.