• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Refactoring to Patterns - book questions

 
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, is this book's sample code focus in pure java ?
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this is the table of contents for refactoring to pattern book by Joshua kerievsky

 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
author
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
mr.Joshua Kerievsky, could you please introduce yourself ? do you wrote this book with developer view ? thank you !
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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
 
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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...
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
will this book go though on how to use IDE for refactoring as well ?
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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
Posts: 995
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic