Refactoring with Design Patterns - The Template Pattern
In our last article of the refactoring series we saw how design patterns can be used to make our Ruby code beautiful and clean. Design patterns are a powerful tool for any developer and a familiarity with them will lead to better code by forcing a consideration of SOLID principles.
Now let’s talk about other pattern that when properly used can be very helpful: The Template Method.
Read more »