Talk:Code refactoring: Difference between revisions

Content deleted Content added
Peter Deutsch and factorization
Line 19:
 
::"To factorize" means to express something as a product of factors. You can factorize a number, a polynomial, a matrix. It does not imply a distribution of responsibilities among objects, although often that's what it achieves. For example, if you factorize a positive-definite matrix into the product of two triangular matrices, the responsibility of solving the associated system of linear equations is distributed to the two triangular matrices as forward substitution and backward substitution, respectively. --[[User:SergioPi|SergioPi]] 15.03, 29 July 2006.
 
::In software engineering, the term 'factorization' was introduced by Peter Deutsch. I don't have the source paper right now, but I believe that he defined factorization to be the distribution of responsibilities among classes in object-oriented software system. So, refactorization should mean re-distribution of these responsibilities. [[User:Pdemb|Pdemb]] 19:46, 17 September 2006 (UTC)
 
== Which type of testing ensures that refactoring does not change the behavior of the code ==