shopping cart
Call us:  800-878-7323 HELP
McAfee SECURE helps keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams.
Original Essays | June 22, 2009

Bethany Moreton: IMG Culture War on Aisle 5? Wal-Mart, Evangelicals, and "Extreme Capitalism"



"In the 'culture wars' narrative of the Republican ascendancy, this slippage represents the greatest con in recent history: while you rush to defend marriage or protect the unborn, please pay no attention to the financier behind the curtain." Continue »
  1. $19.56 Sale Hardcover add to wish list

Ships free on qualified orders.
$38.50
TRADE PAPER, NEW
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Qty Store Section
2 Remote Warehouse Software Engineering- Object Oriented Programming


Refactoring Workbook

by William C. Wake

Refactoring Workbook Cover

ISBN13: 9780321109293
ISBN10: 0321109295
Condition: Standard
All Product Details

Only 2 left in stock at $38.50!

Synopses & Reviews

Publisher Comments:

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 methoda 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.

Book News Annotation:

The set of exercises offers insights and practice in applying principles for improving the design of existing computer code. Readers are expected to be practicing programmers or graduate and upper-level undergraduate students who have already been exposed to the principles themselves. Annotation (c)2003 Book News, Inc., Portland, OR (booknews.com)

Synopsis:

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 this workbook presents the material in a easy-learning format that makes learning enjoyable and effective.

Synopsis:

This example-driven workbook shows how to unleash the significant power of refactoring and improve your software. It aims to help identify where problems in a software application exist or are likely to exist.

Synopsis:

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; and, 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.

About the Author

WILLIAM C. WAKE is an independent software consultant, coach, and trainer who has been programming for over 20 years. He has previously worked for Capital One Financial, MCI/WorldCom, VTLS, Inc, and others. He is the author of Extreme Programming Explored, also available from Addison-Wesley Professional.

Table of Contents

Preface.

1. Roadmap.

Overview. Section 1: Smells within Classes. Section 2: Smells between Classes. Section 3: Programs to Refactor. A Word on the Challenges.

I. SMELLS WITHIN CLASSES.

2. The Refactoring Cycle.

What Is Refactoring? Smells Are Problems. The Refactoring Cycle. When Are We Done? Inside a Refactoring. Challenges. Conclusion.
3. Measured Smells.

Smells Covered. Comments. Long Method. Large Class. Long Parameter List. More Challenges. Conclusion.
Interlude 1. Smells and Refactorings.

4. Names.

Smells Covered. Type Embedded in Name (Including Hungarian). Uncommunicative Name. Inconsistent Names.
5. Unnecessary Complexity.

Smells Covered. Dead Code. Speculative Generality.
Interlude 2. Inverses.

6. Duplication.

Smells Covered. Magic Number. Duplicated Code. Alternative Classes with Different Interfaces. Challenges.
7. Conditional Logic.

Smells Covered. Null Check. Complicated Boolean Expression. Special Case. Simulated Inheritance (Switch Statement).
Interlude 3. Design Patterns.

II. SMELLS BETWEEN CLASSES.

8. Data.

Smells Covered. Primitive Obsession. Data Class. Data Clump. Temporary Field.
9. Inheritance.

Smells Covered. Refused Bequest. Inappropriate Intimacy (Subclass Form). Lazy Class.
10. Responsibility.

Smells Covered. Feature Envy. Inappropriate Intimacy (General Form). Message Chains. Middle Man. Challenges.
11. Accommodating Change.

Smells Covered. Divergent Change. Shotgun Surgery. Parallel Inheritance Hierarchies. Combinatorial Explosion.
12. Library Classes.

Smells Covered. Incomplete Library Class. Challenges.
Interlude 4. Gen-A-Refactoring.

III. PROGRAMS TO REFACTOR.

13. A Database Example.

Course.java (Online at www.xp123.com/rwb). Offering.java. Schedule.java. Report.java. TestSchedule.java. TestReport.java.
14. A Simple Game.

Development Episodes.
15. Catalog.

Introduction. Path 1: Catalog.itemsMatching(query). Path 2: Query.matchesIn(catalog). Path 3: Process(catalog.data, query.data). Conclusion.
16. Planning Game Simulator.

Part 1: Original Code. Part 2: Redistributing Features. Removing Duplication, Selection Troubles, and a Few Burrs. Part 3: Pushing the Code Further.
17. Where to Go from Here.

Books. Admonitions. Exercises to Try. Web Sites.

IV. APPENDIXES.

A: Answers to Selected Questions.

B: Java Refactoring Tools.

C: Inverses for Refactorings.

D: Key Refactorings.

Bibliography.

Index.

Product Details

ISBN:
9780321109293
Author:
Wake, William C.
Publisher:
Addison-Wesley Professional
Location:
Boston
Subject:
Programming - Object Oriented Programming
Subject:
Software refactoring
Subject:
Programming - Systems Analysis & Design
Copyright:
Edition Description:
Trade paper
Series Volume:
no. 534
Publication Date:
August 2003
Binding:
Paperback
Grade Level:
Professional and scholarly
Language:
English
Illustrations:
Yes
Pages:
235
Dimensions:
9.28x7.32x.60 in. .96 lbs.

Other books you might like

  1. $18.00 New Trade Paper add to wish list
  2. $7.98 Sale Trade Paper add to wish list
  3. $54.95 New Softcvr W/comp Media add to wish list
  4. $79.50 Used Hardcover add to wish list

Related Aisles

  • back to top

Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and eBooks — here at Powells.com.