Stories
Slash Boxes
Comments

SoylentNews is people

The Fine print: The following are owned by whoever posted them. We are not responsible for them in any way.

Journal by turgid

Which LISP should I learn? Years ago I read about Scheme and wrote some hello world level code. I learned about lambda functions and currying. I also looked at racket. A few years ago, much of my day job involved the JVM and I was getting sick of Java so I got a book on Clojure, which is a very nice language, but I never wrote any.

A few days ago I downloaded and built the latest version of DrRacket.

Should I go straight to Haskell? Or what about other functional languages? Is Erlang worth a look?

I need something stimulating to distract my brain from the mundane nature of everyday life, and mediocre programming languages.

Display Options Threshold/Breakthrough Reply to Comment Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 4, Funny) by krishnoid on Sunday November 28 2021, @07:15AM (3 children)

    by krishnoid (1156) on Sunday November 28 2021, @07:15AM (#1200180)

    Emacs-Lisp? Ow, tomatoes are ok but no dragonfruit and pineapples! Fine, I'll see myself out.

    Starting Score:    1  point
    Moderation   +2  
       Funny=2, Total=2
    Extra 'Funny' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   4  
  • (Score: 2) by krishnoid on Sunday November 28 2021, @09:00PM (2 children)

    by krishnoid (1156) on Sunday November 28 2021, @09:00PM (#1200313)

    Seriously, though, if you have a utility that uses a LISP dialect as an extension language, that's an easy way to get mentally familiar with, er, "list processing" syntax. Emacs and make (ugh) v4 [gnu.org] come to mind, but if there are other utilities you're currently using, it's a much smoother on-ramp to start coding to implement your own tweaks, then small functions, then larger ones.

    • (Score: 0) by Anonymous Coward on Monday November 29 2021, @02:24AM (1 child)

      by Anonymous Coward on Monday November 29 2021, @02:24AM (#1200372)

      Except that emacs-lisp has been flagged as shit by GNU themselves and have had multiple attempts at replacing the interpreter with something nicer, including Guile.

      • (Score: 3, Insightful) by hendrikboom on Monday November 29 2021, @07:36PM

        by hendrikboom (1125) on Monday November 29 2021, @07:36PM (#1200645) Homepage Journal

        The problem with emacs-lisp is, apparently, that it doesn't do proper binding of variables. (the FUNARG problem of the 60's) There's been work about dealing with that, but there's such an enormous base of emacs lisp programs that making this change is ... difficult.

        Racket has an editor written in a dialect of Scheme (i.e. Racket) which does handle bound variables properly. I'm not sure how language-independent it is, but the hallmark of Racket is its ability to handle multiple languages.

        If GNU ever does manage to produce an editor based on any Scheme, I'd like to see it.