noxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 1 year agotitlebeehaw.orgimagemessage-square5fedilinkarrow-up132arrow-down12
arrow-up130arrow-down1imagetitlebeehaw.orgnoxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 1 year agomessage-square5fedilink
minus-squareqwop@programming.devlinkfedilinkEnglisharrow-up3·1 year agoAssuming x and y are totally ordered 🤮
minus-squareBeanie@programming.devlinkfedilinkEnglisharrow-up3arrow-down1·1 year agoreturn (x >= y); also works
return !(x < y);
Assuming x and y are totally ordered 🤮
return (x >= y);
also works