• FourThirteen@lemmy.world
    link
    fedilink
    arrow-up
    7
    arrow-down
    3
    ·
    7 months ago

    I’ve been a software developer for 7 years and I’ve grown to hate terneries entirely. They only hinder readability. Readability is the biggest factor in maintainability. Code that is hard to maintain makes bugs.

    I always mark PRs with nested terneries as “needs work”.