File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Agile and Other Processes and the fly likes Is it a new version of Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Agile and Other Processes
Bookmark "Is it a new version of "Refactoring"?" Watch "Is it a new version of "Refactoring"?" New topic

Is it a new version of "Refactoring"?

Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
May we say this book is sort of a new version of Martin Fowler's Refactoring?
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 471

By comparing the table of contents of both books, clean code has a lot of similarities with refactoring, but I believe that it deals with some more stuff (a lot more on testing, TDD, etc.).

Visit my blog:
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
From what I have seen until now, I wouldn't say that. Looks to me like this book is mainly about what good code looks like, whereas Refactoring is about how to get from not so good design to a better one in small, save steps.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33107

I think it has way more in common with Kent Beck's "Implementation Patterns."

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Katrina Owen

Joined: Nov 03, 2006
Posts: 1367
I'd say it is more like The Pragmatic Programmer than Refactoring, except that The Pragmatic Programmer addresses broader issues than the code itself... it has the same feel, though.
Robert Martin
Ranch Hand

Joined: Jul 02, 2003
Posts: 76
Originally posted by Adeel Ansari:
May we say this book is sort of a new version of Martin Fowler's Refactoring?

No, not at all. Martin's book (a wonderful book by the way) is about the details of the process of refactoring, especially in environments where the tools won't help you.

The Clean Code book does not try to tell you how to manipulate the code at a low level. Rather it tells you what the code should look like, and how to identify code that looks wrong.

---<br />Uncle Bob.
I agree. Here's the link:
subject: Is it a new version of "Refactoring"?
It's not a secret anymore!