wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Q 4 Bill Dudney (3): importance of refactoring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Q 4 Bill Dudney (3): importance of refactoring" Watch "Q 4 Bill Dudney (3): importance of refactoring" New topic
Author

Q 4 Bill Dudney (3): importance of refactoring

Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
Dear Bill Dudney,

Refactoring seems an important topic in both
your book and EiA why this 'trend'? Is it more
a technical nice-to-have facility or does it
reply to a demand of the software development
comunity where refactoring is more at the order
of the day and caused by the myriad of solutions
one can try: e.g. frameworks (scaffold, tapestry,
etc,etc), class libraries of different vendors
or open source...

Cheers,

Gian Franco
[ June 23, 2004: Message edited by: Gian Franco Casula ]

"Eppur si muove!"
Bill Dudney
Author
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
Hi Gian,

Refactoring is a major part of Agile development methods, thus the hype.

It is most useful and I'd suggest Fowler's book on the subject (google or Amazon).

Good luck!


TTFN,<br /> <br />-bd-<br /> <br /><a href="http://www.amazon.com/exec/obidos/ASIN/0471449156/qid=1064343733/sr=2-1/ref=sr_2_1/002-8375300-3666449" target="_blank" rel="nofollow">Jakarta Pitfalls</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471146153/qid=1064343733/sr=1-2/ref=sr_1_2/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">J2EE AntiPatterns</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471462071/qid=1064343733/sr=1-3/ref=sr_1_3/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">Mastering JavaServer Faces</a> | <a href="http://bill.dudney.net/roller/page/bill" target="_blank" rel="nofollow">Blog</a> | <a href="http://www.jroller.com/page/BillDudney" target="_blank" rel="nofollow">Eclipse Blog</a> | <a href="http://www.sourcebeat.com/TitleAction.do?id=2" target="_blank" rel="nofollow">Eclipse 3 Live</a>
Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
Hi Bill,

Thanks. At my place we are still holding
on to a traditional (old ) way of developing
software, but we are constantly looking at
different frameworks and class libraries.

Cheers,

Gian Franco
Loren Rosen
Ranch Hand

Joined: Feb 12, 2003
Posts: 156
Even in a traditional development environment, refactoring needs will arise. For example, the new features you add to version 2 that you didn't plan for in version 1 may motivate re-arranging the code, which is to say, refactoring.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Gian Franco Casula:
Refactoring seems an important topic in both
your book and EiA why this 'trend'? Is it more
a technical nice-to-have facility or does it
reply to a demand of the software development
comunity where refactoring is more at the order
of the day and caused by the myriad of solutions
one can try: e.g. frameworks (scaffold, tapestry,
etc,etc), class libraries of different vendors
or open source...


I'd guess that I do hundreds of refactorings a day - rename a method, move a class to a different package etc.

The reason for this is that I always learn something when I implement a design, and I want to put that learning into the code.


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
Michael Pavlov
Greenhorn

Joined: Mar 24, 2002
Posts: 12
Hi Gian Franco,

Especial about refactoring; you mentioned that you
"are still holding on to a traditional (old ) way of developing
software..."; I know what you mean, well you should really try
Eclipse; for example we (our developer team) just completed a
major refactoring process in two days using Eclipse!; I don't
have to mention that with traditional tools and editors this
process would've take 2-3 weeks! (renaming and removing classes,
creating new well structured packages, changing method signatures,
then recompiling and dealing with the errors from the old method
calls and fix them one by one, that takes a lot of time; this
great IDE is checking all the references and is changing them
accordingly so you don't have to trace all the method calls to
match the new signatures etc...). You would love it ...

Good luck,
Michael


"The artist is nothing without the gift, but the gift is nothing without work." <br /> - Emile Zola (1840-1902)
Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
Thanks guys,

I'm in a learning proces as we speak

Cheers,

Gian Franco
 
 
subject: Q 4 Bill Dudney (3): importance of refactoring
 
Similar Threads
Q 4 Bill Dudney (7): navigating from within a jsp file
Q 4 Bill Dudney (10): 'beam me up Scotty'
Q 4 Bill Dudney (1): how does book cover Eclipse?
Q about Collection: toArray operation
So Long & Thanks for all the Fish!