• solirs
    link
    fedilink
    72 years ago

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

    • 𝒍𝒆𝒎𝒂𝒏𝒏
      link
      fedilink
      52 years 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
        22 years 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
      -32 years ago

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

    • @fibojoly@sh.itjust.works
      link
      fedilink
      4
      edit-2
      2 years 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
        12 years ago

        Reverse Polish notation, right? Operand operand operator?

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

    • ☆ Yσɠƚԋσʂ ☆OP
      link
      fedilink
      -72 years 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.