-
Recent Posts
Recent Comments
- gunasekaran sambandhan on PTOM: The Decorator Pattern
- NK Sharma on Refactoring Day 3 : Pull Up Method
- Efim Zabarsky on 31 Days of Refactoring
- Slawek Ludwiczak on Refactoring Day 8 : Replace Inheritance with Delegation
- Maxi on Refactoring Day 13 : Extract Method Object
Archives
Categories
Meta
Monthly Archives: August 2009
Refactoring Day 2 : Move Method
The refactoring today is pretty straightforward, although often overlooked and ignored as being a worthwhile refactoring. Move method does exactly what it sounds like, move a method to a better location. Let’s look at the following code before our refactoring: … Continue reading
Posted in Uncategorized
6 Comments
Refactoring Day 1 : Encapsulate Collection
In certain scenarios it is beneficial to not expose a full collection to consumers of a class. Some of these circumstances is when there is additional logic associated with adding/removing items from a collection. Because of this reason, it is … Continue reading
Posted in Uncategorized
18 Comments
