Hacker ApprovedDepartments

The Elements of Programming Style

The Elements of Programming Style by Brian Kernighan and P. J. Plauger

by Brian Kernighan and P. J. Plauger

Shares rank 100 of 115 programming books by recommenders

Recommended as a classic guide to writing clear, well-styled code, with a commenter pointing to it as a reference for code review and coding standards.

Recommended as a classic guide to writing clear, well-styled code, with a commenter pointing to it as a reference for code review and coding standards.

2 people gave an opinion

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

Recommended in 2 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: not recommended
  4. February 2026: not recommended
  5. March 2026: not 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: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 2 people recommend itNeeds 10 or more, not met.
  • Nobody criticizes itNeeds 2 to 1 or better, met.
  • Recommended in 2 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

  • Classic guide to clear code

    “Just read "The Elements of Programming Style", for example.”

    Comment from 16 Oct 2026 in “How the Claude Code team does code review”

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 Elements of Programming Style by Brian Kernighan and P. J. Plauger compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Crafting Interpretersby Robert Nystrom60494%10—Approved
Clean Codeby Robert C. Martin318726%9——
The Pragmatic Programmerby Hunt and Thomas28197%7—Approved
How to Design Programsby Felleisen, Findler, Flatt and Krishnamurthi18290%7—Approved
The Elements of Programming Styleby Brian Kernighan and P. J. PlaugerThis page20100%2——
See all 115 programming books, ranked

What people said

1 of the 2 comments that mention it, newest first. Each links to the original comment.

“Just read "The Elements of Programming Style", for example.”

RecommendsComment from 16 Oct 2026 in “How the Claude Code team does code review”

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