学习 LISP 最好的方法是什么? [打烊]

I have been programming in Python, PHP, Java and C for a couple or years now, and I just finished reading Hackers and Painters, so I would love to give LISP a try!

I understand its totally diferent from what i know and that it won't be easy. Also I think (please correct me if I'm wrong) there's way less community and development around LISP. So my question is: what's the best way to learn LISP?

I wouldn't mind buying books or investing some time. I just don't want it to be wasted.

The "final" idea would be to use LISP for web development, and I know that's not so common so... I know it's good to plan my learning before picking the first book or tutorial and spending lots of time on something that may not be the best way!

Thank you all for your answers!

edit: I read Practical Common Lisp and was: ... long, hard, interesting and definitely got me rolling in Lisp, after that i read the little schemer, and it was short, fun and very very good for my overall programming. So my recommendation would be to read first the little schemer, then (its a couple of hours and its worth it) if you decide lisp(or scheme or whatever dialect) is not what you where looking for, you will still have a very fun new way of thinking about recursion!

转载于:https://stackoverflow.com/questions/398579/whats-the-best-way-to-learn-lisp

csdnceshi74
7*4 Common LISPCraft by Robert Wilensky is an interesting, if old, book. I have a hard copy, dated 1986.
6 年多之前 回复
csdnceshi74
7*4 Common Lisp: An Interactive Approach. Old (1992) book by Stuart Shapiro. Used to be dead tree only, but in recent years available in electronic form.
6 年多之前 回复

23个回答

Try reading Practical Common Lisp, by Peter Seibel.

weixin_41568183
零零乙 Yea i know but i dont like reading in the monitor... anyway i picked this to be the answer coz i started reading the book and it is good(im over half of it and then ill read the little schemer, will edit this when i finish both =0 )
11 年多之前 回复
weixin_41568126
乱世@小熊 DFectuoso - it's not just a link about the book, it is the book. Start reading the book online
11 年多之前 回复
weixin_41568127
?yb? highly recommend it, this was the book we used for my AI class to teach us LISP for our projects.
11 年多之前 回复
weixin_41568131
10.24 Don't forget about the REPL! I haven't used what I learned about LISP, but it made me a much better programmer in all other languages.
11 年多之前 回复
weixin_41568183
零零乙 I think I saw that book at my campus... so ill go pick it up right now!
11 年多之前 回复

My personal favorite is Abelson & Sussman Structure and Interpretation of Computer Programs. It uses Scheme, which is a nice and clean dialect of Lisp.

If you like a more practical approach maybe you should pick some Lisp framework for web design (I have no idea if such a beast exists) and jump right in.

csdnceshi56
lrony* I believe Arc is its own dialect of Lisp, not just a framework. paulgraham.com/arc.html
大约 10 年之前 回复
csdnceshi60
℡Wang Yan Paul Graham has a lisp web framework called arc.
11 年多之前 回复

There is now a book out called 'Land of LISP' that teaches LISP programming through writing 80's style text games. I'm reading it now, and it's very well written and doesn't take itself too seriously, which I like.

Pick up The Land of Lisp by Conrad Barski. It is a fun filled introduction to Lisp programming using cartoons and games.

I found reading the book SICP really helped me learn. I used Steel Bank Common Lisp (SBCL) and had good success with it.

Good luck

weixin_41568208
北城已荒凉 Note though, that SBCL is for Common LISP and the book is about Scheme. I didn't read it completely yet, but I think it can still be of great help for learning Common LISP. You just need to find the equivalents in Common LISP.
大约 4 年之前 回复
csdnceshi79
python小菜 Thanks Im going to pick some books today and start very early tomorrow!
11 年多之前 回复

MIT has made available an entire LISP course in DIVX and MPEG format. I highly recommend it.

http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/

weixin_41568208
北城已荒凉 Note:- The videos relate to the first edition of the book. The book has a second edition and there are considerable differences between the two.
大约 4 年之前 回复
csdnceshi73
喵-见缝插针 I know this question was asked 4 years ago but just to make it clear. They are using "Scheme".
4 年多之前 回复
csdnceshi50
三生石@ I going through the videos SICP. Which dialect are they using? They don't make any mention of dialect, they just call it 'LISP'...
大约 8 年之前 回复
weixin_41568183
零零乙 For even more disk space savings, go to link and search for "structure and interpretation" (using the quotation marks).
9 年多之前 回复
csdnceshi74
7*4 I found the DivX videos to be of similar quality to the MPEG videos, even though they're a lot smaller. Save yourself the bandwidth and disk space.
11 年多之前 回复
csdnceshi77
狐狸.fox The lectures are based off their textbook, Structure and Interpretation of Computer Programs.
11 年多之前 回复

I'm working my way through Lisp right now and have come across "the book" to learn Lisp. It was suggested by Rainer Joswig

The book is called Common Lisp: A Gentle Introduction to Symbolic Computation and can be downloaded as a PDF. The author begins with a UML like approach to Lisp in the first chapter and gradually introduces more and more Lisp syntax.

I've also looked at practical lisp and I think that the author glosses over a lot of required information, even for a seasoned programmer. This book doesn't seem to do that (I'm not completely finished, but have found it useful enough to suggest).

one more thing, you'll need an environment to work in. I've found Lisp in a Box to work well. It runs on Windows and Linux and uses eMacs.

Once I had a problem. I didn't know lisp. So I decided to download LISP in a box.

Then I found myself with an Emacs install without any help or documentation.

Then I had two problems.

csdnceshi63
elliott.david +1 for referencing the old regex joke, but -1 for not being useful on top of it. :-P
接近 11 年之前 回复
csdnceshi79
python小菜 The problem here is that someone didn't tell you about the tutorial; press Control-H, release them, and press T. That will take you to a tutorial that will give you all you need to get started. Sorry to hear about your bad experience.
11 年多之前 回复

For web development you might want to have a look at hunchentoot, a web server written in common lisp.

weixin_41568131
10.24 You know, its very sad to see all the webservers and frameworks around lisp that are web oriented... have ZERO design(css or even inline style
11 年多之前 回复

I found working through the exercises in "The Little Schemer" really helped hone the recursive, pattern-matching side of my thinking and made working in XSLT considerably easier.

共23条数据 1 3 尾页
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问