noxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 2 years agotitlebeehaw.orgimagemessage-square4fedilinkarrow-up143arrow-down12
arrow-up141arrow-down1imagetitlebeehaw.orgnoxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 2 years agomessage-square4fedilink
minus-squareqwop@programming.devlinkfedilinkEnglisharrow-up3·2 years agoAssuming x and y are totally ordered 🤮
minus-squareBeanie@programming.devlinkfedilinkEnglisharrow-up3arrow-down1·2 years agoreturn (x >= y); also works
return !(x < y);
Assuming x and y are totally ordered 🤮
return (x >= y);
also works