noxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 1 year agotitlebeehaw.orgexternal-linkmessage-square4fedilinkarrow-up127arrow-down12
arrow-up125arrow-down1external-linktitlebeehaw.orgnoxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 1 year agomessage-square4fedilink
minus-squareBeanie@programming.devlinkfedilinkEnglisharrow-up4arrow-down1·1 year agoreturn (x >= y); also works
minus-squareqwop@programming.devlinkfedilinkEnglisharrow-up3·1 year agoAssuming x and y are totally ordered 🤮
return !(x < y);
return (x >= y);
also worksAssuming x and y are totally ordered 🤮