Skip to content

Comment on Gödel, Escher, Elisp: The Beauty of Macrosparent

Comments

I agree! A Lisp coder should define a new macro only rarely. Junior coders should avoid doing it altogether.

Macros make Lisp code hard to read. Every time I see a call to define-minor-mode, a groan a little: that macro saves about 5 tokens (relative to just writing out code involving only functions everyone knows) at the cost of making me bounce back and forth at least 3 times between (a buffer showing) define-minor-mode's doc string and the call.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.