skip to content
BooksReddit

Book · 2008

Clean Code

by Robert C. Martin

Robert Martin's case that unreadable functions are a discipline failure, not an inevitability, argued one renamed variable and one extracted method at a time.

952
Total mentions
765
Unique Reddit accounts
case-insensitively deduplicated across the selected corpus
39,532
Total upvotes
sum of comment scores across recognized mentions — consensus weight; never changes rank
Positive
Excerpt sentiment
5 positive · 2 mixed · 1 critical — 8 of 18 excerpts take a position
12
Subreddits
where it's mentioned

Catalogue record: Open Library · ★ 4.4 (45 ratings)

What does Reddit think of Clean Code?

'It's my bible,' says the ↑610 r/learnprogramming comment, describing a rescue job on fifty thousand lines of C++ with zero occurrences of the word private. That's the reverent end of the range. At the other end, r/programming's ↑513 comment splits the difference explicitly: the principles matter, the book itself isn't essential, and attaching Robert Martin's name to it 'isn't necessarily doing the subject matter a service,' a jab at Martin's functional-programming disputes, not at the naming conventions. cscareerquestions treats it as settled canon regardless, bundling it with The Pragmatic Programmer as 'cornerstone' reading across two separate threads. One r/programming poll result puts it second by recommendation rate, 66 percent against Pragmatic Programmer's 67. The ↑440 comment traces the arc most people describe: useful going in, outgrown coming out, once 'a deeper and broader understanding of software quality' replaces the ruleset.

Evidence, not a rating

Recommendation receipt

A compact, source-linked answer derived from the same Reddit sample and editorial synthesis as this page.

Editorial summary

'It's my bible,' says the ↑610 r/learnprogramming comment, describing a rescue job on fifty thousand lines of C++ with zero occurrences of the word private. That's the reverent end of the range.

Read if

You're the target reader if you've just been handed a fifty-thousand-line codebase nobody documented. The ↑610 comment is that story exactly. Already a few years in with a functional-programming bent? Expect the ↑513 pushback to resonate more than the bible framing does. cscareerquestions treats it as a package deal with The Pragmatic Programmer, so read them together instead of debating which comes first.

Skip or borrow first if

The ↑513 comment separates the principles from the book itself: worth knowing, not worth reading, with Martin's name attached 'isn't necessarily doing the subject matter a service.'

Strongest published evidence

“If you feel your code is held together by duct tape, you have approached programming in the wrong way (which is a typical beginner problem). You need to learn to *plan before program*. The better, the more detailed you plan, the better will the outcome, your program, be. A good developer spends ti…”
r/learnprogramming source · score 948 ↗

Dissent & strongest caveat

The ↑513 comment separates the principles from the book itself: worth knowing, not worth reading, with Martin's name attached 'isn't necessarily doing the subject matter a service.'

Negative source excerpt
“A couple I really like: - *A Philosophy of Software Design* by John Ousterhout. Really great implied rebuttal to *Clean Code*. Has some "unorthodox" ideas that I think should be more common in the industry, specifically about method size and error handling. Easy read, about 200 pages. - *Fundament…”
r/ExperiencedDevs source · score 207 ↗
Tracked mentions
952 mentions
Distinct Reddit accounts
765 distinct account identifiers
Tracked subreddits
12 subreddits
Published source excerpts
30 source excerpts
Average sentiment
Average sentiment +0.28
Last updated
Updated September 2, 2026

Account identifiers are case-insensitively deduplicated across the selected corpus and are not a count of distinct people. Average sentiment summarizes only scored published excerpts; unscored excerpts are excluded rather than treated as neutral. It does not describe all mentions and is not a star rating. Methodology →

Community feedback & reader fit

Themes

  • · Readable code as a discipline, not a style preference
  • · Function-naming and small-functions rules people actually apply
  • · Robert Martin's public persona versus the book's actual content
  • · A canon starting point that readers describe outgrowing
  • · Ranked second by recommendation rate, just behind The Pragmatic Programmer

Common praise

  • + The ↑610 comment calls it 'my bible' after using it to rescue a fifty-thousand-line C++ codebase with zero private members.
  • + cscareerquestions bundles it with The Pragmatic Programmer as cornerstone reading across two separate reading-list threads.
  • + A r/programming recommendation poll puts it at 66 percent, a hair behind Pragmatic Programmer's 67 and ahead of Code Complete's 42.
  • + r/learnprogramming, the friendliest sub in the tracked data at +0.45 sentiment, isn't relitigating whether it's worth reading.

Common criticism

  • − The ↑513 comment separates the principles from the book itself: worth knowing, not worth reading, with Martin's name attached 'isn't necessarily doing the subject matter a service.'
  • − The ↑440 comment describes outgrowing it, replaced later by 'a deeper and broader understanding of software quality.'
  • − Functional programmers cite Martin's own public disputes, the 'monad tweetstorm,' as a reason to discount his authority on the subject.

Who it's for

You're the target reader if you've just been handed a fifty-thousand-line codebase nobody documented. The ↑610 comment is that story exactly. Already a few years in with a functional-programming bent? Expect the ↑513 pushback to resonate more than the bible framing does. cscareerquestions treats it as a package deal with The Pragmatic Programmer, so read them together instead of debating which comes first. Once the naming and function-size rules are automatic, this stops teaching you much — the ↑440 comment's arc from convert to skeptic is the median outcome here, not an outlier.

Mentions over time

Q1 2019 peak: 56/qtr Q1 2026

Top subreddits

Which Reddit comments matter for Clean Code?

The most relevant excerpts across the subreddits where this book is mentioned — opinionated, argued takes first, then top-upvoted mentions. Click through to read the full thread.

“

If you feel your code is held together by duct tape, you have approached programming in the wrong way (which is a typical beginner problem). You need to learn to *plan before program*. The better, the more detailed you plan, the better will the outcome, your program, be. A good developer spends ti…

r/learnprogramming ↑ 948 Not scored
“

Wordpress is NOT essential, and if you try to pursue that path too heavily you will limit your earning potential. Companies with enterprise products are … want to focus on front-end web dev, here's what I recommend: ### 1. Learn more than the language Learn the fundamentals of writing *good* softwar…

r/webdev ↑ 841 Not scored
“

I'm an old programmer. I'm 57 and have been programming since about 10. As I get older, my memory increasingly fails...so now I \*have\* to write code as clearly as possible (Because I can no longer rely on remembering "but first you always have to call x function" and don't forget it also changes …

r/programming ↑ 688 Not scored
“

The Pragmatic Programmer is like the cornerstone for code quality. As well as Clean Code. EDIT: I'm going to include a few more that I think will help for your career. * Clean Architecture by Robert C Martin (the whole Clean series is good) * Code Simplicity by Max Kanat-Alexander * Refactoring: Imp…

r/cscareerquestions ↑ 687 positive
“

Here's the list, for anyone interested in just that: 1. The Pragmatic Programmer by David Thomas & Andrew Hunt (67% recommended) 2. Clean Code by Robert C. Martin (66% recommended) 3. Code Complete by Steve McConnell (42% recommended) 4. Refactoring by Martin Fowler (35% recommended) 5. Hea…

r/programming ↑ 655 Not scored
“

Read the book "Clean Code" by Robert Martin. It's my bible. I have worked on a pretty nasty code once. When it was handed over to me, it was nearly 50K of C++ LOC (excluding libraries) with practically no use of word "private". Yes, I SEARCHED TO GET 0 OCCURANCES of that holy word. The whole code w…

r/learnprogramming ↑ 610 positive
“

The hardest part about getting into the industry is breaking the can’t get a job <-> can’t get experience cycle. You’ve broken that cycle. It should get easier now. Forget about Machine Learning focus on the fundamentals. On one hand that means read books like “Clean Code”,“Clean Architecture”. Lear…

r/cscareerquestions ↑ 532 Not scored
“

Personally, I think the principles in *Clean Code* are very important. However, the book itself isn't the best thing I've ever read, and attaching Uncle Bob's name to it isn't necessarily doing the subject matter a service (e.g. I'm a hardcore functional programmer nowadays, and his monad tweetstorm…

r/programming ↑ 513 mixed
“

We should really just put together a community reading/listening list... Reading: * Clean Code / Clean Architecture / […

r/cscareerquestions ↑ 498 Not scored
“

Pragmatic programmer: Yes. Or at least know the concepts in it. Clean code: High level concepts are good. Been fighting with people that enforced it too literally.

r/ExperiencedDevs ↑ 480 Not scored
“

I've read Clean Code and Agile Software Development. They were good books and I learned a lot from them at the time. They changed the way I wrote code and thought about the practice of writing code. However, I've since come …

r/programming ↑ 440 positive
“

I always recommend this book called 'Clean Code' It details a collection of techniques to keep your code readable and maintainable. In general use good variable and method names and use more, shorter methods where…

r/learnprogramming ↑ 383 positive
“

To those reading this post, don't confuse "clean code" with the book "Clean Code". It's worth a read perhaps, but its very specific approach is far from ideal for everyone. Consistency is the most important paradigm for keeping a maintainable codebase. Poorly written code that is the same everywh…

r/gamedev ↑ 252 mixed
“

A couple I really like: - *A Philosophy of Software Design* by John Ousterhout. Really great implied rebuttal to *Clean Code*. Has some "unorthodox" ideas that I think should be more common in the industry, specifically about method size and error handling. Easy read, about 200 pages. - *Fundament…

r/ExperiencedDevs ↑ 207 critical
“

I found my codin' style changed a fair bit after reading "clean code" by robert martin. I don't follow his advice religiously, but the author does make a fair number of good points. Like: "Reading code is hard." also, practice refactoring. At a big company I used to work for - every time I'd fix a …

r/cscareerquestions ↑ 171 positive

Readers also mention

Books that share discussion threads with Clean Code — counted from the comments, not curated.

Guides featuring Clean Code

Ranked best-of lists and editorial guides where this book's tracked mentions place it.

Clean Code — frequently asked

Is Uncle Bob's Clean Code still worth reading in 2026?+

But the ↑440 r/programming comment describes the common endpoint: useful early, then superseded once you develop 'a deeper and broader understanding of software quality.' Read it for the vocabulary, not as a final word on the subject.

Is Clean Code better or worse than The Pragmatic Programmer?+

Reddit ranks it just behind. One r/programming poll result lists Pragmatic Programmer at 67 percent recommended and Clean Code at 66, with Code Complete well back at 42. cscareerquestions doesn't bother separating them, listing both as 'cornerstone' reading in the same breath.

Does Robert Martin's reputation affect how Reddit judges Clean Code?+

For some readers, yes. The ↑513 comment explicitly separates the book's principles from attaching 'Uncle Bob's name' to them, citing Martin's functional-programming disputes as a reason the branding undersells the material. Nobody in the displayed data argues the naming or function-size rules themselves are wrong — the objection is about the messenger.

Who actually uses Clean Code's advice?+

People handed bad legacy code, mostly. The ↑610 comment describes rescuing fifty thousand lines of undocumented C++ and calling the book 'my bible' afterward. r/learnprogramming skews toward that use case; r/ExperiencedDevs shows far less enthusiasm, consistent with a book whose value front-loads early in a career.