I notice programming stuff leaks into my thinking and writing often but I actually enjoy the various constructs that help clarify thinking. I don’t have any formal background in logic tho :(

What are some useful and accessible logical tools/operators/symbols that help in thinking+“pseudocode” Edit: definitely useful math/cs/logical symbols are particularly interesting

If you can, please copy/paste the actual unicode symbol or whatever

  • shapesandstuff@feddit.de
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    I like the inline if/else notation

    (condition) ? (action if condition applies) : (else condition)

    Not sure if that’s the kind of thing you’re looking for

    • cheese_greater@lemmy.worldOP
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 year ago

      ternary expressions?

      Ya, its not out of place here or anything.

      That too and also initially I was thinkngmore referring to using symbols in place of words like

      ∴ == therefore

      But I’m just as open to those too 🤠

      Edit: I love ternary expression, such an elegant shorthand

      • shapesandstuff@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Ahhh gotcha.

        Yeah I’m shit with vocabulary, despite coding for a long time now :'D

        It can reaaally clean up the thought process as well as the code