Campfyre
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
LadyButterfly she/her@piefed.blahaj.zone to Science Memes@mander.xyzEnglish · 1 day ago

I dunno

piefed.cdn.blahaj.zone

message-square
273
fedilink
626

I dunno

piefed.cdn.blahaj.zone

LadyButterfly she/her@piefed.blahaj.zone to Science Memes@mander.xyzEnglish · 1 day ago
message-square
273
fedilink
  • vala@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    10 hours ago

    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
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours 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.

    • call_me_xale@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 hours ago

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

      • vala@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        9 hours ago

        Yeah I’m stupid

        • call_me_xale@lemmy.zip
          link
          fedilink
          English
          arrow-up
          3
          ·
          9 hours ago

          Knowing is half the battle!

    • Reginald_T_Biter@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 hours ago

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

Science Memes@mander.xyz

science_memes@mander.xyz

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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

  • [email protected]

Other Mander Communities

Science and Research

  • [email protected]
  • [email protected]
  • [email protected]

Biology and Life Sciences

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • !reptiles and [email protected]

Physical Sciences

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Humanities and Social Sciences

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Practical and Applied Sciences

  • !exercise-and [email protected]
  • [email protected]
  • !self [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Memes

  • [email protected]
  • [email protected]

Miscellaneous

  • [email protected]
  • [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.47K users / day
  • 5.94K users / week
  • 9.1K users / month
  • 21.1K users / 6 months
  • 2 local subscribers
  • 17.4K subscribers
  • 6.12K Posts
  • 152K Comments
  • Modlog
  • mods:
  • Salamander@mander.xyz
  • fossilesque@mander.xyz
  • SciBot@mander.xyz
  • fossilesque@lemmy.dbzer0.com
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org