minus-squarerollerbang@sopuli.xyztoLemmy Shitpost@lemmy.world•*Permananently Deleted*linkfedilinkarrow-up32·1 year agoYou have to make it easy on yourself and just use a switch with default true for evens, then gandle all the odd numbers in individual cases. There, cut your workload in half. linkfedilink
minus-squarerollerbang@sopuli.xyztoLemmy Shitpost@lemmy.world•Should I?linkfedilinkarrow-up3arrow-down1·1 year agoCould you not? linkfedilink
You have to make it easy on yourself and just use a switch with default true for evens, then gandle all the odd numbers in individual cases. There, cut your workload in half.