287
AI Bubblesort (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] JohnnyCanuck@lemmy.ca 10 points 2 weeks ago

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 2 weeks ago* (last edited 2 weeks ago)

Huh. 101.

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

[-] JohnnyCanuck@lemmy.ca 2 points 1 week 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.

this post was submitted on 30 Sep 2025
287 points (89.5% liked)

Programmer Humor

26859 readers
1641 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