3 ms·
Both SICP and HTDP are very good books. SICP has little more 'attitude' in it, but I think its neutral feature. If you want to learn programming as something be
by nabla9 8y ago
Both SICP and HTDP are very good books. SICP has little more 'attitude' in it, but I think its neutral feature. If you want to learn programming as something between algorithms and programming languages, I suggest these four 'Lisp' books:
1. SICP (Structure and Interpretation of Computer Programs)
2. HTDP (How to Design Programs) https://htdp.org https://htdp.org
3. LiSP (Lisp in Small Pieces),
4. PAIP (Paradigms of Artificial Intelligence Programming) https://github.com/norvig/paip-lisp https://github.com/norvig/paip-lisp
SICP and HTDP are different but serve the same purpose. LiSP is about interpretation, semantics, and compilation. PAIP by Peter Norvig can seen as elementary programming book that uses classical AI as a subject. You learn both.
I don't know what to think about this, I haven't read it: SICM (Structure and Interpretation of Classical Mechanics)
- philonoist 8y agoWhich among these teach me functional paradigm through LISP the best? Or would you recommend some other book that uses a small language to gain a good grip over FP? Haskell, Scala and Clojure are intimidatingly big.
- nabla9 8y agoHtDP or none of them. Functional paradigm has two flavors: 1. Functions as first class objects in the language and enabling the functional style programming. 2. Pure functional programming. Not a style, its functional programming. IMHO learning the first kind helps relatively little when you want to learn second kind and vice versa. Lisp is multi-paradigm language or "Lisp paradigm" language family. Because functions are first class objects it facilitate functional programming of the first kind. Some Lisps are geared towards using functional style more than others.
- philonoist 8y agoSo for second flavor, what would you recommend with focus on smallness of language?
- nabla9 8y agoI have no idea. I have only read Thompson's Haskell: The Craft of Functional Programming and some old ML books I can't name. I have no idea if it's a good compared to other FP books.
- philonoist 8y agoYou were very helpful in this discussion. Thank you. :)
- kailden 8y agoFor Clojure - a good start might be something like solving a few of the advent of code puzzles with the simple but powerful map/reduce functions. You won’t need the whole language and you will be writing functional programs. The experience of that alone might help you find the next book that works for you.
- lispm 8y agoThere are several more books. For example: https://www.goodreads.com/book/show/1032517.The_Schematics_Of_Computation https://www.goodreads.com/book/show/1032517.The_Schematics_O... Also in that league, but using a different language Mozart/Oz: https://www.info.ucl.ac.be/~pvr/book.html https://www.info.ucl.ac.be/~pvr/book.html German: Schreibe Dein Programm http://www.deinprogramm.de/sdp/ http://www.deinprogramm.de/sdp/