Hacker ApprovedDepartments

The Practice of Programming

The Practice of Programming by Kernighan and Pike

by Brian W. Kernighan

Shares rank 71 of 115 programming books by recommenders

People recommend it for timeless programming advice from Bell Labs authors, and for steering beginners toward writing good code. Critics raised no complaints.

People recommend it for timeless programming advice from Bell Labs authors, and for steering beginners toward writing good code. Critics raised no complaints.

3 people gave an opinion

recommend it
3
criticize it
0
approval share
100%
Each figure is one person. RecommendsCriticizes

Recommended in 3 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: not recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 3 people recommend itNeeds 10 or more, not met.
  • Nobody criticizes itNeeds 2 to 1 or better, met.
  • Recommended in 3 of 13 monthsNeeds 4 or more, not met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Timeless advice from Bell Labs authors

    “I will always associate him with Bell Labs and Unix and The Practice of Programming”

    Comment from 26 Dec 2025 in “Rob Pike Goes Nuclear over GenAI”

    “It's not that long and much of it is timeless.”

    Comment from 18 Mar 2026 in “Rob Pike's 5 Rules of Programming”
  • Helped beginners learn to code well

    “steered me in a really good direction when I was first learning to write code”

    Comment from 18 Nov 2025 in “The Pragmatic Programmer: 20th Anniversary Edition (2023)”
  • Short and mostly timeless

    “It's not that long and much of it is timeless.”

    Comment from 18 Mar 2026 in “Rob Pike's 5 Rules of Programming”

Other programming books people recommend

The four most recommended other programming books, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

The Practice of Programming by Kernighan and Pike compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Crafting Interpretersby Robert Nystrom60494%10—Approved
Clean Codeby Robert C. Martin318726%9——
The Pragmatic Programmerby Andy Hunt and Dave Thomas28197%7—Approved
How to Design Programsby Matthias Felleisen and Robert Bruce Findler and Matthew Flatt and Shriram Krishnamurthi18290%7—Approved
The Practice of Programmingby Brian W. KernighanThis page30100%3——
See all 115 programming books, ranked

What people said

All 3 comments that mention it, newest first. Each links to the original comment.

“It's not that long and much of it is timeless.”

RecommendsComment from 18 Mar 2026 in “Rob Pike's 5 Rules of Programming”

“I will always associate him with Bell Labs and Unix and The Practice of Programming”

RecommendsComment from 26 Dec 2025 in “Rob Pike Goes Nuclear over GenAI”

“steered me in a really good direction when I was first learning to write code”

RecommendsComment from 18 Nov 2025 in “The Pragmatic Programmer: 20th Anniversary Edition (2023)”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.