Cover of The Art of Readable Code

The Art of Readable Code

by Dustin Boswell · first published 2011

17mentions
11recommended by
14HN commenters
2011–2026first – last mentioned

79% recommend14% neutral7% critical

Why HN recommends it

A short, example-driven guide to writing clearer code, focused on naming, layout, and simplifying logic. It is well written and a quick read for working developers who want more readable code.

Summarised by Claude from recommending comments

As programmers, we've all seen source code that's so ugly and buggy it makes our brain ache. Over the past five years, authors Dustin Boswell and Trevor Foucher have analyzed hundreds of examples of "bad code" (much of it their own) to determine why they're bad and how they could be improved. Their conclusion? You need to write code that minimizes the time it would take someone else to understand it -- even if that someone else is you. This book focuses on basic principles and practical techniques you can apply every time you write code. Using easy-to-digest code examples from different langua

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

30 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 0 mentions2011: 3 mentions2012: 2 mentions2013: 1 mention2014: 0 mentions2015: 0 mentions2016: 1 mention2017: 3 mentions2018: 3 mentions2019: 0 mentions2020: 1 mention2021: 1 mention2022: 0 mentions2023: 0 mentions2024: 1 mention2025: 0 mentions2026: 1 mention200720172026

What Hacker News says

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help