logoalt Hacker News

Vohlenzertoday at 9:41 AM2 repliesview on HN

I finished Let Over Lambda recently. I'm not an experienced lisp programmer but it's strangely readable if you allow yourself to not understand every little detail of the Common Lisp code. For example I hadn't read On Lisp. I had read The Little Schemer.

It's a wonderful tour of advanced macro concepts. With several of the macros presented I found myself saying "well that's just x language feature in y" but that's missing the point. The point is that Common Lisp allows you to implement your own language features, with macros of course!

This chapter is a wonderful climax to the whole book. Lisp moving Forth moving Lisp reminded me of the intertwined nature of DNA, RNA and proteins in Biology.

There's great humour throughout the book, I especially enjoyed the little sideways jabs at Scheme programmers!


Replies

pehejetoday at 9:51 AM

What are some genuinely useful things macros can do?

show 8 replies
dreamcompilertoday at 11:24 AM

> reminded me of the intertwined nature of DNA, RNA and proteins in Biology

My analogy is how a changing electric field generates a changing magnetic field which generates a changing electric field which ... is light.

Forth is the electric field and Lisp is magnetic (or vice versa). They are two sides of the same coin.

Lisp really is the Maxwell's equations of software.