fubarx@lemmy.world to Programmer Humor@programming.dev · 1 month agoAI Bubblesortlemmy.worldimagemessage-square39linkfedilinkarrow-up1323arrow-down138
arrow-up1285arrow-down1imageAI Bubblesortlemmy.worldfubarx@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square39linkfedilink
minus-squareominous ocelot@leminal.spacelinkfedilinkarrow-up2·edit-21 month agoHuh. 101. Maybe the comparable.is_greater_than(int) function needs some work. Or someone compared strings. :)
minus-squareJohnnyCanuck@lemmy.calinkfedilinkarrow-up2·1 month 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.
Huh. 101.
Maybe the comparable.is_greater_than(int) function needs some work. 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.