this post was submitted on 27 Nov 2025
720 points (91.0% liked)

Science Memes

17472 readers
599 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] vala@lemmy.dbzer0.com 8 points 2 days ago (3 children)

This is called "prefix notation". The operator comes before the operands and every expression goes in parentheses.

For instance you could write:

(+ 1 2 3 4)

Which would evaluate to 10.

This syntax is from a family of programming languages usually called LISP.

https://en.wikipedia.org/wiki/Lisp_(programming_language)

[–] merc@sh.itjust.works 2 points 2 days ago

Also, you can use this for more than just arithmetic. The first thing in the list is the name of the function, and everything else is something that you pass to the function. So you could instead write

(plus 1 2 3 4)

Which would be like plus(1, 2, 3, 4) in other kinds of programming languages.

[–] Reginald_T_Biter@lemmy.world 2 points 2 days ago

Awesome thanks for explaining that. That's cool as hell.

[–] call_me_xale@lemmy.zip 2 points 2 days ago (1 children)

I understand prefix notation, but you got the order of operations wrong...

[–] vala@lemmy.dbzer0.com 6 points 2 days ago (1 children)
[–] call_me_xale@lemmy.zip 4 points 2 days ago

Knowing is half the battle!