• @fibojoly@sh.itjust.works
      link
      fedilink
      4
      edit-2
      9 months 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!

      • Kale
        link
        fedilink
        English
        19 months ago

        Reverse Polish notation, right? Operand operand operator?

        • @fibojoly@sh.itjust.works
          link
          fedilink
          19 months 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!

  • @Solaris1789
    link
    79 months ago

    As a parentheses hater my personal hell would be having to audit and refactor a lisp codebase

    • 𝒍𝒆𝒎𝒂𝒏𝒏
      link
      fedilink
      59 months ago

      My work maintains a legacy AutoCAD addin written in Lisp… we are considering dropping support because it’s so difficult to maintain with the original dev gone

      • Kale
        link
        fedilink
        English
        29 months ago

        Oof. Is that the official plugin language? Siemens NX uses “grip” which is a fork of TCL. And they require purchase of a pricy package to sign and compile code so NX will run it, so we only had one programmer for our custom grip functions.

    • ☆ Yσɠƚԋσʂ ☆OP
      link
      fedilink
      -39 months ago

      Having worked with Clojure for over a decade now, I find it far easier to refactor than most other languages I’ve touched.

    • ☆ Yσɠƚԋσʂ ☆OP
      link
      fedilink
      -79 months ago

      I personally find ((f) 1) easier to read. You just go inside out, evaluate f, then pass 1 as the argument to the output of f. There’s no ambiguity regarding order of evaluation there.