5

I am a pretty experienced Ruby, Objective C, and Java programmer and I was watching a video on emacs (because I have been using Vi) and noticed that it is also a LISP interpreter. That spiked my interest, and brought up an interesting question: For someone that knows modern high level languages such as Ruby, Java ,and Objective C, is there any practical benefit to learning LISP? Would I gain anything by setting aside some time to learn LISP or not? I would like to hear what you guys have to say. Thanks.

1
  • FWIW the company I work at uses a lot of AutoLISP... which is a thing you can do.
    – Pete
    Oct 21, 2015 at 23:08

4 Answers 4

9

There are definitely benefits to learning a language built on a different paradigm from the one you are used to (which I note are merely object oriented with strong imperative roots). LISP is the granddaddy of functional languages (one of my favourites, Scheme, is a LISP dialect).

Besides widening your horizons, functional languages and constructs are highly likely to grow further in importance as a reasonably straightforward way of using multi-core hardware efficiently.

LISP as such might not be my recommendation to start with, since it's enormously fragmented: on the other hand, there's a lot of history, and you can make use of it directly if you plan on moving to Emacs.

8

Lisp, in a sense, is the logical extension of von Neumann's revelation that "code is data is code".

The things figured out in Lisp before 82 or so are still working their way into mainstream programming languages like C# and Python. Due to the reasonably uniform Lisp syntax, they probably won't ever get all the way in with the ease of using them in Lisp.

Things like:

  • dynamic typing -- Possibly a Lisp invention, possibly smalltalk. Not sure.
  • object orientation -- mooched from Smalltalk by Lisp I think
  • reflection -- C# just got this one
  • DSLs in-language -- hello Linq.
  • macros -- a few ultra-researchy languages have these now besides Lisp
  • compilation in the interpreter -- never heard of other languages having this one

And other stuff I can't think up on the fly.

1
  • Boo has semantic macros, and is more pragmatic than it is researchy.
    – JasonTrue
    May 16, 2011 at 17:31
4

I suggest you get hold of a good Lisp book (they abound on the web) and try some Lisp yourself. You will be amazed to find that this 50 year old language is so "modern" and in some respect, way ahead of other "modern" languages. (For instance, find out why Lisp is called the programmable programming language). If you are too lazy to actually try some Lisp code yourself, read this and this.

4

Watch some of these: http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/

Learning Lisp per se isn't particularly practical, but it will make you a better programmer as you can apply the understanding you gain to languages you think you already know.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.