The Purpose of Re-Factoring
Refactoring is about reorganization, it comes from mathematics when you factor an expression into an equivalence – the factors are cleaner way of expressing the same statement. Refactoring means equivalence; the original product and the end product must med functionally identical. There are generally two reasons to do refactoring:
- Maintainability – it is easier to fix bugs because the source code is easy to read and the intent is easy to grasp. This might be achieved by removing monolithic routines into a set of individually concise, well-named, single-purpose methods. Or it might be achieved by moving a method to a more appropriate class, or by removing misleading comments.
- Extensibility – it is easier to extend the capabilities of the application if it uses recognizable design patterns.
In order to ensure that the function is identical is common to create a solid set of unit tests. The test should demonstrate that the behavior of the module is correct. If the test fails, you undo the change. Refactoring shall make your code clearer, cleaner, simpler and more elegant.


The book Agile Leadership is about organizing software development and leadership in a knowledge based organization. 
Pingback: US Direct Protect
Pingback: free online strategy war games
Pingback: ecommerce solutions
Pingback: 鋁圈
Pingback: Stop sweating and start living
Pingback: miss america 2012
Pingback: Scholarships for Minorities
Pingback: gears of war 3 multiplayer
Pingback: best digital camera
Pingback: High Protein Low Carb Diet
Pingback: oxygen barauto car
Pingback: affnan aquaponics blogspot
Pingback: light stage party
Pingback: Payday Loans In Chicago
Pingback: Payday Loans Detroit
Pingback: Best Appetite Suppressant
Pingback: Great Clips Coupons
Pingback: movie hong
Pingback: air operated grease
Pingback: XXX
Pingback: charger apple ipod