noxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 1 year agotitlebeehaw.orgimagemessage-square3fedilinkarrow-up17arrow-down11
arrow-up16arrow-down1imagetitlebeehaw.orgnoxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 1 year agomessage-square3fedilink
minus-squareqwop@programming.devlinkfedilinkEnglisharrow-up1·1 year agoAssuming x and y are totally ordered 🤮
minus-squareBeanie@programming.devlinkfedilinkEnglisharrow-up1arrow-down1·1 year agoreturn (x >= y); also works
return !(x < y);
Assuming x and y are totally ordered 🤮
return (x >= y);
also works