• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    I disagree. I’ve seen very complex boolean expressions and they were clearly code smell. Sometimes acceptable but definitely a fertile area for refactoring.

    Their example is crap to be fair - two comparisons is not complex.