Tag Archives: refactoring

Article: When Software Smells Bad

Kevin Rutherford and I wrote this article for Better Software magazine; it was the cover article in the July/August 20122 issue. It demonstrates refactoring in Ruby, using a basic "todo" list application.  "When Software Smells Bad" (PDF), by Bill Wake … Continue reading

Tagged , ,

Refactoring in Ruby – InformIT Interview

Interview with Bill Wake and Kevin Rutherford, the authors of Refactoring in Ruby. Continue reading

Tagged , ,

Review – Clean Code

Clean Code, Bob Martin, Prentice-Hall, 2008. Bob Martin tackles the challenges of making code sparkling clean. He provides numerous guidelines, and demonstrates their utility in action. I particularly appreciated some of the longer examples where he really works them over. … Continue reading

Tagged , , ,

Refactoring Workbook

“Refactoring improves through practice.” Continue reading

Tagged ,

Refactoring Demo Screencast

Four ways to Extract Method. Continue reading

Tagged , ,

Smell to Refactoring Cheat Sheet – Industrial Logic

Refactoring cheat sheet. Continue reading

Tagged , ,

Review – Refactoring Workbook

Refactoring Workbook, William Wake. Addison-Wesley, 2003. [Consider this a summary rather than a review my own book.] My goals were to create a workbook that helps people practice recognizing smells (problems) and learn to apply important refactoring techniques. There's a … Continue reading

Tagged , , ,

Review – Refactoring to Patterns

Refactoring to Patterns, Joshua Kerievsky. Addison-Wesley, 2005.Design patterns and refactoring have been related for a long time. (Consider that Ralph Johnson, one of the co-authors of Design Patterns, was a sponsor of the work that created the original refactoring browser.) … Continue reading

Tagged , , , ,

Review – Working Effectively with Legacy Code

Working Effectively with Legacy Code, Michael Feathers. Prentice Hall, 2004.Michael has distilled a lot of knowledge about how to safely improve code when you lack the safety net of tests. For example, there are places where you’ll take smaller steps … Continue reading

Tagged , ,

Refactoring Thumbnails

Sven Gorts has introduced Refactoring Thumbnails to summarize refactorings. Continue reading

Tagged ,

Refactorings Require New Tests

Refactorings are often described as transformations that preserve semantics, but they still may require new tests. Continue reading

Tagged , ,

Scratch Refactoring

Sometimes it pays to do things twice. Continue reading

Tagged ,

The Impact of Refactoring on Tests

When refactorings change the design of a system, they update the tests just enough to accommodate the revision. This keeps the tests working, but tests have other roles. To continue to support these roles, you often need to further modify the tests and add new ones. Continue reading

Tagged , ,

Refactoring Challenge – The Amazing Maze

"Amazing" is a maze generation program from the book BASIC Computer Games, by David Ahl. (The maze program was created by Jack Hauber). The code is used with permission of David Ahl, www.SwapMeetDave.com. Alan Hensel mentioned using this program as inspiration for … Continue reading

Tagged ,

Subjunctive Programming

Programming in the world of “What If?” Continue reading

Tagged , , , ,