Monthly Archives: December 2010
Refactoring a God Object
Refactoring scalpel in hand, a gigantic monstrosity stands in front of you; the God Object (or God Class). Thats right, some developers have decided to create a class with everything in it including the kitchen sink. Or rather, a number … Continue reading
Refactoring Hazards – the Dead Exception
What is important to note, is that fixing this problem by propogating exceptions correctly is NOT a refactoring. It is intrinsically changing the behaviour of the code. Continue reading