this post was submitted on 08 Nov 2024
677 points (98.0% liked)

Programmer Humor

19623 readers
507 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
[–] [email protected] 113 points 2 weeks ago (2 children)

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

[–] [email protected] 37 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

you should post this on lemmy.ml

[–] [email protected] 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

[–] [email protected] 3 points 2 weeks ago

They would see nothing wrong with it

[–] [email protected] -4 points 2 weeks ago (1 children)
[–] [email protected] 2 points 2 weeks ago (1 children)

this isn't a community that they moderate tho

[–] [email protected] 1 points 2 weeks ago (1 children)

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

[–] [email protected] 1 points 2 weeks ago

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

[–] [email protected] 4 points 2 weeks ago (1 children)

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

[–] [email protected] 0 points 2 weeks ago

Underrated comment.