minus-squareRednax@lemmy.worldtoProgrammer Humor@programming.dev•Peak code reuselinkfedilinkarrow-up3arrow-down2·6 days agoWhy the complicated if statements to check the sign? Just let the number overflow. Would be functionaly the same, and result in much prettier code. linkfedilink
Why the complicated if statements to check the sign? Just let the number overflow. Would be functionaly the same, and result in much prettier code.