Red Squirrel Reflections
Dave Hoover explores the psychology of software development


[Previous entry: "Refactoring Train"] [Main Index] [Next entry: "Struts, Ruby, Progress"]

Refactoring my Refactoring
Tuesday, October 1, 2002

Today's lunchtime meeting with Roman provided more insight. My original refactoring went a bit too far by removing the exception raising behavior from the Train class and fully trusting the client class to not add Cars while the Train was moving. We looked in the Refactoring book and saw that the refactoring applied only to clients.

It was a good meeting. We are learning Ruby, experiencing pair programming, and improving our refactoring and pattern skills. It feels like the Train module will be a good starting point for us. We'll probably spend a few more meetings on it before we get into something a bit more serious.

It occured to me that the Train module might be a good framework to use for a Ruby refactoring article...

Posted by Dave

Powered by Greymatter