File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes Refactoring to Patterns - book questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Refactoring to Patterns - book questions" Watch "Refactoring to Patterns - book questions" New topic
Author

Refactoring to Patterns - book questions

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, is this book's sample code focus in pure java ?
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
I guess there may not be codes, or, should be psudo codes that can be applied in various language, not only Java.

As the book focus on categories of refactoring, and thus, it may not contain much codes.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
From the book description at Amazon.com:
I use Java examples in this book. I find that Java tends to be easy for most object-oriented programmers to read. I�ve gone out of my way to not use fancy Java features, so whether you code in C++, C#, Visual Basic .NET, Python, Ruby, Smalltalk, or some other object-oriented language, you ought to be able to understand the Java code in this book.


Fowler's refactoring book also contained quite a lot of code examples. I believe it's essential for the kind of refactorings he described. I haven't seen Josh's book yet so I can't really say how much code it has in proportion to UML diagrams.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
this is the table of contents for refactoring to pattern book by Joshua kerievsky

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
when i first scan on TOC, i found that this book focus more on refactoring and cover little on pattern ...am i right ?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Alvin chew:
when i first scan on TOC, i found that this book focus more on refactoring and cover little on pattern ...am i right ?

Yes. Joshua's book is about refactoring to patterns, not refactoring and patterns.
Joshua Kerievsky
author
Greenhorn

Joined: Sep 08, 2004
Posts: 14
Ralph Johnson (one of the authors of Design Patterns) recently noted tha the refactorings in my book could easily be called patterns or refactorings. So I like to think that the book is about both refactoring and patterns. I certainly include lots of discussions about pattern implementations and competing patterns -- though I don't go into the detail found in the Design Patterns Implementation Notes.

The book does contain a LOT of code. The code is written in Java. There are also plenty of UML 2.0 diagrams. As I said in the book, I find that most C#/C++/OO developers can understand the code (we've tested it on a wide variety of folks in our workshops).


Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0321213351/ref=jranch-20" target="_blank" rel="nofollow">Refactoring to Patterns</a>
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
mr.Joshua Kerievsky, could you please introduce yourself ? do you wrote this book with developer view ? thank you !
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982

my book could easily be called patterns or refactorings

Will you rename your book in the next edition?

In addition, did you cover fundemental concepts of refactoring in your book?

Nick
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Originally posted by Joshua Kerievsky:
[...] easily be called patterns or refactorings. So I like to think that the book is about both refactoring and patterns [...]


This sounds interesting for me :-/. afaik these are way to different. maybe I can use some refactoring to use patterns, but the other way around???

Please enlighten me.

./pope

PS: i would like to read this immediately to better understand


blog - InfoQ.com
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Originally posted by Nicholas Cheung:

In addition, did you cover fundemental concepts of refactoring in your book?


Nick, sample chapter-2 is about fundemental concepts of refactoring... I read it yesterday and I found out that beginners will find it really useful for them...

Especially the nature of refactoring and types of refactoring such as composite refactoring and test-driven refactoring are discussed there in chapter-2...

It's really worth that we got that chapter to taste the book...


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
will this book go though on how to use IDE for refactoring as well ?
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
Hi Ko Ko,


sample chapter-2 is about fundemental concepts of refactoring... I read it yesterday and I found out that beginners will find it really useful for them...

I mean the fundemental concepts for each category, not only that of refactoring.

Nick
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982

will this book go though on how to use IDE for refactoring as well ?

If there is, I guess it maybe Eclipse or NetBean, as they are free.

Nick
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Originally posted by Alvin chew:
will this book go though on how to use IDE for refactoring as well ?


Why should you consider interesting to read this inside a book? I should read this instead in my IDE help, rather to a book.

./pope
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Refactoring to Patterns - book questions