this post was submitted on 06 Dec 2023
21 points (100.0% liked)

Asklemmy

49793 readers
669 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 6 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 8 points 2 years ago (1 children)

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

[โ€“] [email protected] 7 points 2 years ago* (last edited 2 years ago) (1 children)

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

[โ€“] [email protected] 2 points 2 years 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