# The Story of Mac: A Just-So Story

> Hacker News story 49178868 · language: en · submitted 2026-08-05
> Web version: https://zeli.app/story/49178868
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 30 · by [kscarlet](<https://news.ycombinator.com/user?id=kscarlet>) · 💬 6
[original](<https://gigamonkeys.com/book/macros-defining-your-own>) · [HN discussion](<https://news.ycombinator.com/item?id=49178868>)

## Summary

In this excerpt from Peter Seibel's book on Common Lisp, the author explains macros through a whimsical tale about a programmer named Mac who manually expands code notes, eventually leading to the invention of DEFMACRO. The story clarifies the crucial distinction between macro expansion time and runtime, and the article then details the structure of DEFMACRO and the process of writing macros, emphasizing the need to avoid leaky abstractions.

## Key quote

> The key to understanding macros is to be quite clear about the distinction between the code that generates code (macros) and the code that eventually makes up the program (everything else).

## HN discussion (6 comments)

### [scrame](<https://news.ycombinator.com/item?id=49252955>)

> Torturous metaphor that doesn't actually explain macros.

### [ihuman](<https://news.ycombinator.com/item?id=49253055>)

> Needs a [2003] in the title

### [torh](<https://news.ycombinator.com/item?id=49254122>)

> What a lovely little story.
>
> Inspiring even.

---

## Cite

- Page: https://zeli.app/story/49178868
- Date: 2026-08-05
- Source: gigamonkeys.com (https://gigamonkeys.com/book/macros-defining-your-own)
- Hacker News: https://news.ycombinator.com/item?id=49178868

## Other languages

- zh: https://zeli.app/zh/story/49178868 · markdown: https://zeli.app/zh/story/49178868.md
- ja: https://zeli.app/ja/story/49178868 · markdown: https://zeli.app/ja/story/49178868.md
- ko: https://zeli.app/ko/story/49178868 · markdown: https://zeli.app/ko/story/49178868.md
- de: https://zeli.app/de/story/49178868 · markdown: https://zeli.app/de/story/49178868.md
- es: https://zeli.app/es/story/49178868 · markdown: https://zeli.app/es/story/49178868.md
