noxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 1 year agotitlebeehaw.orgimagemessage-square4fedilinkarrow-up18arrow-down12
arrow-up16arrow-down1imagetitlebeehaw.orgnoxfriend@beehaw.org to Programmer Humor@programming.devEnglish · 1 year agomessage-square4fedilink
minus-squareBeanie@programming.devlinkfedilinkEnglisharrow-up2arrow-down1·1 year agoreturn (x >= y); also works
minus-squareqwop@programming.devlinkfedilinkEnglisharrow-up1·1 year agoAssuming x and y are totally ordered 🤮
return !(x < y);
return (x >= y);
also worksAssuming x and y are totally ordered 🤮