3
3
u/NoahTheDuke Jan 28 '22
This is a great book. I found it a little hard to read without some knowledge of Common Lisp, but I took it slow and it really improved how I thought in a "lisp" mindset vs a more traditional style.
2
u/benumber Jan 31 '22 edited Jan 31 '22
Great Book! But always remember the wisdom of the ancient Lisp coders:
"In the first state, man and macro become one and each other. Here, even a parenthesis of grass can be used as a lethal weapon. In the next stage, the macro resides not in the hand but in the heart. Even without a macro, the warrior can slay his enemy from a hundred paces. But the ultimate ideal is when the macro disappears altogether. The warrior embraces all the libraries around him. The desire to add own macros no longer exists. Only functions remain."
2
u/daver Feb 03 '22
Great book and well worth your time, but just be aware that PG loves macros and particularly anaphoric macros. Lots of time spent on those topics. I first spent time with Lisp because of PG’s writings, but I have to say that I’ve moved on and find some of his thoughts a bit counter productive now.
1
1
u/vvwccgz4lh Jan 28 '22
I started reading it and I disagree with this sentence:
Eventually macros will seem the most natural thing in the world, but they can be hard to understand at first. Partly this is because they are more general than functions, so there is more to keep in mind when writing them.
I've read somewhere that data is more general than functions. Which means that this definition of what macros are is... opposite of what it says. And it's hard to write a macro because it is very brittle and it's very specialized code.


3
u/[deleted] Jan 28 '22
Cool cover.
Did you lulu it?