In this post I will walk through how to refactor a Factory, moving from a sequence of ifs to a dictionary implementation, and using delegates as a type alias for my object creation methods. Here is a naive implementation of the Factory. You can see...
Screencast - Complex refactoring in simple steps, Part III: From Conditional to Polymorphism Matthew Butt demonstrates how to compose simple automated refactoring steps in ReSharper to refactor code to better designs. In this episode we identify three classes that are being used in the same...
My team have been working on improving the performance our API, and identified a database call as the cause of some problems. The team suggested three ways to tackle this problem: Scale up the database till it can meet our requirements. Introduce some light-weight caching...
Screencast - Complex refactoring in simple steps, Part II: Steps towards Polymorphism Matthew Butt demonstrates how to compose simple automated refactoring steps in ReSharper to refactor code to better designs. In this episode we spot a conditional with three branches. We Decompose this Conditional to...
Screencast - Complex refactoring in simple steps, Part I: Replace Method with Method Object Matthew Butt demonstrates how to compose simple automated refactoring steps in ReSharper to refactor code to better designs. In this episode, we look at a method that exhibits the Long Parameter...
The other day, I facilitated a sprint retrospective in the park. The sun was shining, and we had all been working hard to complete our backlog, so it felt like a nice reward for everyone’s efforts. Holding a retrospective outdoors can also give it an...
Software is our passion.
We are software craftspeople. We build well-crafted software for our clients, we help developers to get better at their craft through training, coaching and mentoring, and we help companies get better at delivering software.