Hacker News new | past | comments | ask | show | jobs | submit

Gödel, Escher, Elisp: The Beauty of Macros

https://www.chiply.dev/post-elisp-macros-are-beautiful
> To anticipate a common question: why couldn't my-unless be a function? Function arguments are evaluated eagerly, before the function ever sees them.

Interesting, so if you’re using a lazy language then you don’t need a macro here and could write my-unless as a function.

loading story #49300762
loading story #49300498
Remember the golden rule of Lisp macros: don't write a macro.
I always thought it odd that Penrose gets dropped from the Escher conversations.
If macros can implement arbitrary language features then how come elisp has never built a type system?
loading story #49300686
loading story #49300567
loading story #49300512
{"deleted":true,"id":49300743,"parent":49175067,"time":1786723912,"type":"comment"}