The C Programming Language
Brian Kernighan, Dennis Ritchie
124 people recommended it in 48 threads, 2008–2026.
24 commenters pushed back on it — worth reading the threads.
What people on Hacker News said
It showed me that a technical book can be concise, well written and enjoyable to read.
I've been working through K&R C and have been doing exactly what the article says--read the code, understand how it works, then write it. When it breaks, go back and learn why.
IMHO, this lesson is its notion of programming style: terse, small, efficient. It permeates the whole book and C/Unix design but the book is not explicitly about it.
If I knew a kid who was "interested in computers", but there was no one around to give them a helping hand I'd definitely give them a copy of CODE and The C Programming Language.
But K&R’s book explained the language, how it worked, and how to program — in the most primitively satisfying way.
K&R is still the best book on C. Short, simple and accurate.
Where it comes up
- Ask HN: Best book to learn C in 2022? 2022 · 16 recommendations
- Ask HN: What is the best programming book you've read? 2021 · 6 recommendations
- Ask HN: What are the most fundamental books on computer science? 2019 · 6 recommendations
- What are must read books for entry level C programmer? 2017 · 6 recommendations
- Ask HN: I use and love Python. What's the best book to learn C ? 2010 · 6 recommendations
- Ask HN: The book that did it for you in math and/or CS? 2022 · 5 recommendations
- What is the single most influential book every programmer should read? 2011 · 5 recommendations
- Ask HN: Top 10 Timeless Software Books That ChangedLife as Software Engineer? 2023 · 4 recommendations
- Learn C Programming with Open-Source Books 2017 · 4 recommendations
- What is the single most influential book every programmer should read? 2011 · 4 recommendations
- The Book That Every Programmer Should Read 2011 · 4 recommendations
- Ask HN: What are the best short tech/engineering books you have read? 2022 · 3 recommendations
- Ask HN: What book changed your life? 2022 · 3 recommendations
- Ask HN: What's the best textbook you've read? 2018 · 3 recommendations
- The most mentioned books on Stack Overflow 2017 · 3 recommendations
- Which is your favorite 70-80s computer book? 2008 · 3 recommendations
- Ask HN: What are the most eye-opening textbooks you have ever read? 2023 · 2 recommendations
- Ask HN: Do you recall any book or course that made a topic finally click? 2022 · 2 recommendations
- Ask HN: Which books do you consider real gems in your field of work/study? 2022 · 2 recommendations
- Show HN: 40k HN comments mentioning books, extracted using deep learning 2021 · 2 recommendations
