minus-squaresegfault11 [any]@hexbear.nettoProgrammer Humor@lemmy.ml•Infallible CodelinkfedilinkEnglisharrow-up3·2 months agoall you have to to is throw an exception if the number is bigger than 100, who even needs numbers that big anyways? linkfedilink
minus-squaresegfault11 [any]@hexbear.nettoProgrammer Humor@lemmy.ml•Infallible CodelinkfedilinkEnglisharrow-up12·2 months agopro hacker tip: you can optimize this by using “num” for the variable name instead of “number” linkfedilink
minus-squaresegfault11 [any]@hexbear.nettoProgrammer Humor@lemmy.ml•Peak UI DesignlinkfedilinkEnglisharrow-up5·2 months agoj octo ber linkfedilink
all you have to to is throw an exception if the number is bigger than 100, who even needs numbers that big anyways?