Definitely a repost, but it fits the season

      • Lifter@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        1 day 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
            ·
            1 day 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
                  ·
                  16 hours 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)