noxfriend ( noxfriend@beehaw.org ) to Programmer Humor@programming.devEnglish · 3 years agotitleimagemessage-square5linkfedilinkarrow-up133
arrow-up133imagetitlenoxfriend ( noxfriend@beehaw.org ) to Programmer Humor@programming.devEnglish · 3 years agomessage-square5linkfedilink
minus-squareBeanie ( Beanie@programming.dev ) linkfedilinkEnglisharrow-up3·3 years agoreturn (x >= y); also works
minus-squareqwop ( qwop@programming.dev ) linkfedilinkEnglisharrow-up3·3 years agoAssuming x and y are totally ordered 🤮
return !(x < y);return (x >= y);also worksAssuming x and y are totally ordered 🤮