Definitely a repost, but it fits the season

    • Lifter@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      Yes, but I saw changing the order of them as non-compliant with the meme. I could have added a parenthesis but that also felt too technical.

        • Captain Aggravated@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          That’s an interesting question, and I’m gonna go learn the answer.

          duckduckgo powers activate!

          So yes, they do. It generally goes NOT, AND, OR. And if you’re doing algebra in binary and you’ve got boolean operators in there (you can AND two numbers the same way you can ADD two numbers in binary) PEMDAS becomes PEMDASNAO.

              • silasmariner@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                2 days ago

                It’s a reasonable convention that matches the common DNF (disjunctive normal form) of propositional logic, can confirm it’s the right read.

                I’d still probably use parentheses for the ∧ (and/conjunction), though I’d never bother with it for ¬ (negation)