this post was submitted on 30 Sep 2025
282 points (89.4% liked)

Programmer Humor

26721 readers
2905 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
[–] JohnnyCanuck@lemmy.ca 10 points 4 days 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 4 days ago* (last edited 4 days 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 4 days 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.