5 ms·
Good stuff. Interestingly, the very first programming language offered in introductory CS class at my college was Scheme at the time (2000). The power of 'car'
by codegeek 13y ago
Good stuff. Interestingly, the very first programming language offered in introductory CS class at my college was Scheme at the time (2000). The power of 'car' and 'cdr' still resonates in my head. At times, the parenthesis used to give me dyslexia but good old days of doing stuff like:
(car(cdr(car(cdr(cdr a)))))
- wonnage 13y ago(cadaddr a) :P
- codegeek 13y agobut that takes the fun out saying "car of the cudar of the cudar of...". Seriously though, such a simple concept of list manipulation can be used to solve so many problems. I never realized the power of this until a long time after.
- brudgers 13y agoThe power of Lisp is that it has a word for this concept.
- latj 13y agoGet a copy of this for the kids! http://www.amazon.com/The-Little-Schemer-4th-Edition/dp/0262560992/ http://www.amazon.com/The-Little-Schemer-4th-Edition/dp/0262...
- mentos 13y agoOne of the best CS classes I took in college was an introduction to scheme that used 'The Little Schemer' as its text book. Having only worked in imperative languages it really opened my head up!
- klibertp 13y agoI just read the chapter about fixed point combinator (aka Y). It's great, not only for kids. I tried reading the book a few years ago, I remember being irritated by the QA style it uses and dumping it because of it. On my second attempt I realized that it's only irritating if you know the answers very well and skipped to the chapter I didn't have so much confidence in understanding. And it was very pleasant experience, especially when I stopped to think a little before reading the answers. It felt like I was having fun. So I'd advise to give a book a go, even if you are confident in your Scheme and FP skills. Just skip the parts which seem too obvious to you and get to the interesting stuff, you won't be disappointed. Now it's time for The Seasoned Schemer, I guess :)