Skip navigation
Clean Code, Second Edition.
0:00 / 1:56

Clean Code, Second Edition.

Uncle Bob Martin

@unclebobmartin290K followers

Visit on X
1,371 likesDownloadOriginal post

413,554 views

Clean Code, Second Edition.

50 Comments

Comments from the original post on X (Twitter)

  • Zach's profile picture

    @zachmax

    “claude, read Clean Code, Second Edition and then implement this feature. make no mistakes”

    76 likes

  • fj's profile picture

    @fjzeit

    Please please please record an audiobook with you as the narrator, delivered entirely in the same borderline unhinged presentation style you use in these vids. It would be epic.

    17 likes

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    Look for We, Programmers in audiobook.

    10 likes

  • fj's profile picture

    @fjzeit

    Oh excellent. 😁

  • Barrett's profile picture

    @SledgeDev

    here i wrote the foreword for you: Foreword: A Prompt Engineer’s Guide to Clean Code Here is the truth about being a developer: your real job is not to “innovate” or “architect elegant systems.” Your real job is to clean up slop. Always has been. Always will be. You spend 90 percent of your time scraping half-baked code off the floor like a short-order cook on the night shift. And now we have AI. Which means the slop is coming faster. It is not just dripping in anymore, it is gushing out of a firehose labeled “Productivity Boost.” One sloppy prompt and the AI cranks out 10,000 lines of pure, unfiltered nonsense before you can blink. We are drowning in AI slop. Slop that hallucinates APIs that do not exist. Slop that uses libraries last updated in 2003. Slop that is written in five languages at once because “polyglot” sounded cool. Slop that compiles but only if you are on Windows XP running on a potato. The machines are not our saviors. They are slop factories. They will happily generate endless piles of code with the confidence of a toddler holding a crayon mural. So what do we do? The same thing we have always done. We clean. We refactor. We rename variables that make us weep. We extract functions until they actually make sense. We turn “AI slop” back into something a human can read without losing faith in humanity. Clean Code is not just a discipline anymore. It is pest control. It is janitorial duty at scale. It is our only defense against exponential slop production. So grab your mop, your linter, and your sense of humor. The slop is not going away. It is multiplying, and it is our job to clean it. Do it with no bugs, make sure it is secure, and keep the vibes happy. And above all, may your token guesser never, ever break production. —Barrett

    14 likes

  • Dayvster's profile picture

    @dayvsterdev

    Even if I tend to disagree with the old Clean Code, I'll still be buying this if not for anything else just because Uncle Bob's attitude and joy for writing and sharing his knowledge and opinion is so damn infectious. Keep up the good work

    10 likes

  • Robert Levy's profile picture

    @rplevy

    I'm not Uncle Bob (I'm cousin Robert) but if I was Uncle Bob writing a second edition I would have done the whole thing Clojure

    8 likes

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    I did virtually all of “Functional Design” in Clojure.

    8 likes

  • Robert Levy's profile picture

    @rplevy

    nice!

    1 like

  • Elias's profile picture

    @eliaszrq

    just wondering what lessons did you learn in the last few years of not writing production grade code? what kind of valuable perspectives will you add? or is it just piggy-backing on the existing "clean code" branding and addressing all critique currently out there?

    8 likes

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    One has to wonder what would motivated a smart young man to ask such a puerile question.

    16 likes

  • Elias's profile picture

    @eliaszrq

    genuine curiosity first edition is increasingly criticized, no doubt you've picked up on this. second edition seems to acknowledge these criticisms - would love to hear which principles you've reconsidered after watching the industry evolve from the sideline

    4 likes

  • El Polemista 🇺🇦's profile picture

    @nomaspatanes

    No JavaScript Bob, no JavaScript...

    6 likes

  • Stevie's profile picture

    @xsteviexcodex

    I’ve bought multiple copies of clean code and gave them as gifts to colleagues. It has had a profound impact on my career. I’ll definitely purchase the second edition when it becomes available.

    5 likes

  • Nick Haroldsen's profile picture

    @graphnick

    Is it possible to have clean code in JavaScript? Asking for a friend.

    4 likes

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    Of course.

    4 likes

  • Nick Haroldsen's profile picture

    @graphnick

    😇

  • m@'s profile picture

    @gotroot

    Thanks, Bob! That’s great to hear.

    3 likes

  • антон's profile picture

    @secardena

    Can we now write longer functions? 🥲

    3 likes

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    I keep mine pretty short, but you do you.

    12 likes