July 11, 2010
Bonus Code Smell Of The Week - Divergent Change (Clean Separation)So once again with the Account example, only this time the two concerns (account logic and XML serialization) are cleanly seperated so that Account has zero knowledge of it.
If you'd like to flex your refactoring muscles and have an eye for a bargain, I'm running a refactoring master class for C# and Java developers in central London on July 24-25. Places are a very budget-friendly 199 GBP, and because it's on a weekend, you don't need to beg for the time off. And there's a very good pub just across the road, just in case you get thirsty!
Posted 10 years, 8 months ago on July 11, 2010