개발방법론/모델링/Refactoring

Replace Type Code with State/Strategy

아름프로 2003. 8. 3. 12:39

Replace Type Code with State/Strategy


You have a type code that affects the behavior of a class, but you cannot use subclassing.

Replace the type code with a state object.


        

For more information see page 227 of Refactoring




***** 아름다운프로님에 의해서 게시물 복사 + 카테고리변경되었습니다 (2003-12-18 17:27)