Refactoring Part 2

REPLACE TYPE CODE WITH SUBCLASSES

As you start working with more complex system you will find yourself end up with classes which has type-code and then logic around it. Like the following example

Read More

Refactoring Part-1

These are some of my notes I took while reading Martin Fowler’s Refactoring. Improving THE Design of Existing Code. It will be a multi part series and will cover a few basic refactoring techniques.

Read More

share this: