this post was submitted on 09 Nov 2024
73 points (96.2% liked)

Programmer Humor

19544 readers
550 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
top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 29 points 3 days ago (2 children)

Ah, this looks like it's a snap to use.

[–] [email protected] 17 points 3 days ago (1 children)

Oh God no. If I had to use snap to install this, I'll pass.

[–] [email protected] 6 points 3 days ago

Then you'll need some heroes to install it, even if they're a bit of a flat pack.

[–] [email protected] 15 points 3 days ago

If you have the stones to try it

[–] [email protected] 9 points 3 days ago
        for i in range(1, len(a)):
            if a[i] < a[i-1]:
                like_all_things_should_be = False
                break

What's going on in Thanos' head in all that B-roll

[–] [email protected] 4 points 3 days ago (1 children)

Is this like the Stalin sort?

[–] [email protected] 4 points 3 days ago

Similar principle but O(log(n)) istead of Stalin sorts O(n).