Talk:Code refactoring: Difference between revisions

Content deleted Content added
OOP.
SergioPi (talk | contribs)
"To factorize" means to separate into factors.
Line 17:
 
:: AFAIK the word 'to refactor' comes from 'to factorize', which means 'to distribute responsibilities between objects and classes'. --[[User:Pdemb|Pdemb]] 11:55, 8 January 2006 (UTC)
 
::"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.
 
== Which type of testing ensures that refactoring does not change the behavior of the code ==