• rollerbang@sopuli.xyz
    link
    fedilink
    arrow-up
    32
    arrow-down
    1
    ·
    edit-2
    1 year ago

    You have to make it easy on yourself and just use a switch with default true for evens, then handle all the odd numbers in individual cases. There, cut your workload in half.