Y Hacker News Books

#25 of 644 all-time

The C Programming Language

Brian W. Kernighan and Dennis M. Ritchie

24 people recommended it in 10 threads, 2010–2023.

What people on Hacker News said

porpoisely
It showed me that a technical book can be concise, well written and enjoyable to read.

on HN, 2019

jihadjihad
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.

on HN, 2018

diego_moita
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.

on HN, 2011

steauengeglase
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.

on HN, 2011

wilsynet
But K&R’s book explained the language, how it worked, and how to program — in the most primitively satisfying way.

on HN, 2021

bensummers
K&R is still the best book on C. Short, simple and accurate.

on HN, 2010

Where it comes up