• wethegreenpeople@sopuli.xyz
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    Engineer I guess… Thief is the objectively better enterprise programmer option but I don’t know why I always forget about it and just write a ternary ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      ·
      1 year ago

      JS instills distrust. Rely on built-in sort? It’s alphanumeric. Rely on built-in reverse? It modifies your array. Copy an array? No you didn’t.

      Yeah no kidding we bang out a kata in a dozen characters. I don’t even believe in order of operations at this point. I’ve been routinely betrayed.

      • Strykker
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        The only order of operations I believe in is the one defined in braces. If it’s not the order better not matter.