3 years ago
I’ve heard of this books fame and I have to say that every programmer should read this book. This is such a fun book to read. Even though I’ve never written any Scheme really, except on paper to work out some of the problems in the book, I see the connections to other languages I use more frequently—Javascript and Ruby, for instance.
This book teaches recursion and functional programming techniques in an effective way. It reads like Socratic dialogue and has cute cartoon elephants and food problems.
It will make you appreciate and maybe even love functional programming. Lambda-power.
Today I learned:
(define lat?
(lambda (x)
(cond
((null? x) #t)
((atom? (car x)) (lat? ( cdr x)))
(else #f))))
