• PoolloverNathan@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

    Why not factor out the ! via de Morgan’s laws (which would also remove most of the parentheses, as iirc && binds tighter than ||)? Also, does that language have a {#continue} sort of syntax for loops? If so, you could make it a guard clause.