• CameronDev@programming.dev
    link
    fedilink
    arrow-up
    7
    arrow-down
    4
    ·
    7 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
      2
      ·
      7 months ago

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