noxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 2 years agotitlebeehaw.orgimagemessage-square4fedilinkarrow-up115arrow-down11
arrow-up114arrow-down1imagetitlebeehaw.orgnoxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 2 years agomessage-square4fedilink
minus-squareBeanie@programming.devlinkfedilinkEnglisharrow-up2·2 years agoreturn (x >= y); also works
minus-squareqwop@programming.devlinkfedilinkEnglisharrow-up1·2 years agoAssuming x and y are totally ordered 🤮
return !(x < y);
return (x >= y);
also worksAssuming x and y are totally ordered 🤮