3 ms·
To me, SICP is not really a book about Lisp. Scheme makes the underlying concepts easier to explain. Pedagogical power was one of the motivations for developing
by brudgers 7y ago
To me, SICP is not really a book about Lisp. Scheme makes the underlying concepts easier to explain. Pedagogical power was one of the motivations for developing Scheme.
The Lisp that's more like Erlang(Elixir). The one that was developed for commercial applications programming is Common Lisp. For me, the book that shows the power of Lisp for applications programming is Norvig's Paradigms of Artificial Intelligence: Case Studies in Common Lisp https://github.com/norvig/paip-lisp https://github.com/norvig/paip-lisp
Common Lisp is the result of consensus among industry stakeholders. There is meaningful consistency but no commitment to purity or theory or dogma. More about what people are (were) doing than what "people should do".
YMMV.
- khaledh 7y agoThanks for the tip about that book. I'm collecting a number of resources from the answers here and I'll try to go through them. Right now Paul Graham's "On Lisp" seems promising.
- brudgers 7y agoIt's been a few years since I read On Lisp. I kind of walked away with the impression that the main characters are macros and the star is anaphoric macros. There are nuggets in the buildup to their introduction and anaphoric macros are interesting. But my brain doesn't wrap very far around macros and my sense of understanding dissipated pretty quickly each time I stopped reading. For me, Graham's On Lisp was fun to read but less applicable than his ANSI Common Lisp. On Lisp was a rabbit hole for me. A fun rabbit hole. But still a rabbit hole. --- Changing gears back to your original question, Racket has pattern matching. [1] [2] [1]: Racket Guide: https://docs.racket-lang.org/guide/match.html https://docs.racket-lang.org/guide/match.html [2]: Racket Reference: https://docs.racket-lang.org/reference/match.html https://docs.racket-lang.org/reference/match.html