fubarx@lemmy.world to Programmer Humor@programming.dev · 2 days agoAI Bubblesortlemmy.worldimagemessage-square27linkfedilinkarrow-up1281arrow-down135
arrow-up1246arrow-down1imageAI Bubblesortlemmy.worldfubarx@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square27linkfedilink
minus-squareominous ocelot@leminal.spacelinkfedilinkarrow-up2·edit-22 days agoHuh. 101. Maybe the comparable.is_greater_than(int) function needs some work. Or someone compared strings. :)
minus-squareJohnnyCanuck@lemmy.calinkfedilinkarrow-up2·2 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.
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.