• airbussy
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Then there’s Haskell where arguments to a function are given with spaces

    • fibojoly@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      I have fond memories of RPL on the HP48 calculators where you would give arguments as a stack, then call the function. Something like (a+b)*c could be written C A B + * Such fun!

        • fibojoly@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          That’s the one. The Wikipedia article has some extensive examples, too.

          Its weird syntax prepared us well to face the horror of assembly language later on, so I have a certain fondness for it. That and I had absolutely no point of comparison at the time, haha!