this post was submitted on 30 Sep 2025
250 points (88.8% liked)

Programmer Humor

26649 readers
1738 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
you are viewing a single comment's thread
view the rest of the comments
[–] probable_possum@leminal.space 3 points 1 day ago (1 children)
[–] JohnnyCanuck@lemmy.ca 10 points 1 day ago (1 children)

1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 30...

[–] probable_possum@leminal.space 2 points 1 day ago* (last edited 22 hours ago) (1 children)

Huh. 101.

Maybe the comparable.is_greater_than(int) function needs some work. Or someone compared strings. :)

[–] JohnnyCanuck@lemmy.ca 2 points 20 hours ago

Or someone compared strings.

Yes, that's my joke. Using digits in a string list isn't enough, you have to be smart with your sorting and sort the numbers before you make the string list for your drop down.