• CameronDev@programming.dev
    link
    fedilink
    arrow-up
    7
    arrow-down
    3
    ·
    11 months ago

    Does this article need to exist? I assumed anyone writing a nested ternary was intentionally writing shit code

    • T (they/she)@beehaw.org
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      11 months ago

      Some people think they are being “cleaver” writing a lot of stuff in one line. So yes, it does.