Complex refactoring in simple steps Part III

30 Jan 2017


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 way. We introduce a common abstraction, and separate their creation and invocation. Finally, we remove a Middleman class to complete our journey to polymorphism.

The code used in this video can be found on GitHub

Related Blogs
Nature of Learning
  • By Mashooq Badar
  • ·
  • Posted 28 Oct 2018
Nature of Learning

We need to be deliberate in our learning Learning is a part of our survival and key to professional success. Understanding its nature helps us..

Get content like this straight to your inbox!