Résumé
As a programmer, you need to be able to recognize and improve problematic code, so the program remains in a working state throughout the software lifecycle. Refactoring-the art of improving the design of existing code safely-provides an efficient, reliable system for bringing order to the chaos, and one that keeps the surprises to a minimum! Refactoring can be difficult to learn, but Refactoring Workbook, by consultant William C. Wake, presents the material in a easy-learning format that makes learning enjoyable and effective.
For many, the obstacle to learning refactoring is in identifying the "smells"—the potential problem areas-found in code. Instead of having you read about the smells, Refactoring Workbook makes sure you understand them. You'll solve a carefully assembled series of problems, and you'll find yourself learning at a deeper level and arriving at a few insights of your own. Wake uses the workbook method—a learning-focused approach that forces you to apply the techniques presented in the book-in the rest of the book. This approach helps you learn and apply the most important refactoring techniques to your code and, as a side benefit, helps you to think more about creating great code even when you're not refactoring.
Refactoring Workbook provides user-friendly references such as:
- A handy, quick-reference "smell finder"
- A standard format for describing smells
- Appendices showing key refactorings
- A listing of Java™ tools that support refactoring
This book is intended for programmers with a knowledge of Java, though a C# or C++ programmer with a basic understanding of Java would also be able to follow and learn from the examples. It can be used as a companion to Martin Fowler's Refactoring (also from Addison-Wesley Professional), which provides step-by-step instructions for many refactorings.
Contents
- Roadmap
- Smells within classes 5
- The refactoring cycle
- Measured smells
- Names
- Unnecessary complexity
- Duplication
- Conditional logic
- Smells between classes
- Data
- Inheritance
- Responsibility
- Accommodating change
- Library classes
- Programs to refactor
- A database example
- A simple game
- catalog
- Planning game simulator
- Where to go from here
- Appendixes
- Answers to selected questions
- Java refactoring tools
- Inverses for refactorings
- Key refactorings
L'auteur - William C. Wake
has been programming for more than twenty years at companies including Capital One Financial, MCI WorldCom, VTLS Inc., and Digital Equipment Corporation. He is a regular attendee of OOPSLA, and co-author (with Stephen Drye) of Java Foundation Classes: Swing Reference (Manning Publications, 1999). Extreme Programming Explored grew out of the questions he had while taking the first XP Immersion course
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | William C. Wake |
Parution | 17/09/2003 |
Nb. de pages | 236 |
Format | 18,5 x 23,5 |
Couverture | Broché |
Poids | 510g |
Intérieur | Noir et Blanc |
EAN13 | 9780321109293 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse