# C Interfaces and Implementations by David Hanson

2 Hacker News commenters recommended C Interfaces and Implementations by David Hanson and 0 criticized it, November 2025 to November 2026. It was recommended in 4 of 13 months.

**Verdict:** People recommend it for showing how to write C that avoids use-after-free bugs, and for its worked examples of reusable interfaces and implementations.

## Why people recommend it

- Shows how to avoid use-after-free (1 comments): "demonstrated how to code in C in a way that avoids use after free" ([source](https://news.ycombinator.com/item?id=45874490))
- Real examples of literate programming (1 comments): "To study actual examples of LP see the book" ([source](https://news.ycombinator.com/item?id=47122433))

## Alternatives hackers recommend

- [Crafting Interpreters by Robert Nystrom](https://hackerapproved.com/p/crafting-interpreters.md): 60 recommend
- [Clean Code by Robert C. Martin](https://hackerapproved.com/p/clean-code.md): 31 recommend
- [The Pragmatic Programmer by Hunt and Thomas](https://hackerapproved.com/p/pragmatic-programmer.md): 28 recommend
- [How to Design Programs by Felleisen, Findler, Flatt and Krishnamurthi](https://hackerapproved.com/p/how-to-design-programs.md): 18 recommend
- [Mastering Emacs by Mickey Petersen](https://hackerapproved.com/p/mastering-emacs.md): 17 recommend

## Where to get it

- [See price on Amazon](https://www.amazon.com/dp/0201498413?tag=hackerapprove-20) (affiliate link)
- [Bookshop.org](https://bookshop.org/a/130825/9780201498417) (affiliate link)

## Cite as

Hacker Approved, "C Interfaces and Implementations by David Hanson", https://hackerapproved.com/p/c-interfaces-and-implementations/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
