Skip navigation
A brief intro to Clean Code Second Edition
0:00 / 1:56

A brief intro to Clean Code Second Edition

Uncle Bob Martin

@unclebobmartin290K followers

Visit on X
1,058 likesDownloadOriginal post

338,666 views

A brief intro to Clean Code Second Edition

46 Comments

Comments from the original post on X (Twitter)

  • Vogelbeobachter's profile picture

    @lsievers

    No one cares about your totalitarian shit. Get over it.

    4 likes

  • Vogelbeobachter's profile picture

    @lsievers

    Converting subjective heuristics into moral absolutes is the blueprint of a technical autocrat. Learn the difference between a guide and a law, Bob.

    2 likes

  • Anthony's profile picture

    @anthony_codes

    My copy just came in the mail yesterday. Really enjoying it so far.

    3 likes

  • Prahlad Yeri's profile picture

    @prahladyeri

    Why do most programming authors and podcasters avoid PHP as if it's a deprecated disease that still runs half the internet 😀

    3 likes

  • Ralf Anders's profile picture

    @RalfAndersAI

    It’s a book every AI should read.

    3 likes

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    If only they could retain what they read. Unfortunately, for now, that’s up to the humans. And perhaps it always will be.

    1 like

  • Theron James's profile picture

    @CoachTheron

    Excited to read! Next we need an agent skill for agentic clean code.

    2 likes

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    I don’t think that’s an agent skill. I think it requires humans in the loop.

    3 likes

  • Theron James's profile picture

    @CoachTheron

    I think the human’s role is critical. The question is where in the stack that human discipline lives. If code is the artifact, then yes, humans in the loop on code quality. But if the durable artifact is the spec and verification layer and code is a compilation target agents regenerate, then the human discipline is in spec precision, not code cleanliness. The agent skill is in structuring code for agent consumption between regenerations. Wrote this up here:

  • Alessandro Giannone's profile picture

    @AleGiannone

    Hold on, you did a full rewrite? The sequence of words that makes good software engineers shudder.

    2 likes

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    <grin>. I’d say it’s an 85+% rewrite. But never fear, the first edition is still running and you can run the two in parallel for awhile while you gradually phase the first edition out.

    10 likes

  • Bunker's profile picture

    @DarthBunker

    does this book contain any sort of proof / measure system to show that 'clean' code actually improves things or we all should believe You because your hairs are white?

    2 likes

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    When you find, or write, a book that offers such a proof, please let us all know. In the mean time you might want to pay attention to those of us who have been coding for many decades. Or not. Your choice.

    16 likes

  • ZHONG XINA's profile picture

    @HHughJanus

    @DarthBunker chatgpt makes coders over confident

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    @DarthBunker Coders. Not programmers.

    4 likes

  • Andreas K. Weber's profile picture

    @andreaskweber

    Didn‘t know that you will ship a new version of clean code. It was one of my first books and it defined how I approached technology in general. I‘m glad to see you having so much fun and also produce so much valuable insights to bridge old world vs new world.

    1 like

  • nisten's profile picture

    @nisten

    Yo uncle Bob, if I wanna do type-checking at test-time in C, how do I go about that workflow bro?

    1 like

  • 𝕰𝖒𝖕𝖗𝖊𝖘𝖘 𝕶𝖆𝖗𝖊𝖓 ᴺᴱᴼ's profile picture

    @koishiterukaren

    A message from Shangri-La: “You may not let Uncle Bob hack the racquetball!”

    1 like

  • Uncle Bob Martin's profile picture

    @unclebobmartin

    I used to be a lot better at this.

    16 likes

  • Curtis Harrison's profile picture

    @CurtisH58241337

    @koishiterukaren You're awesome!!! That juggling makes me happy. I'm curious if you've tried the recent xai Build CLI with GROK. I guess it just released in May and looks like an upgrade is coming any day now. I got a $30/first 3 months deal so I'm going to start playing around with it...