블로그에 있는 리팩토링 글 정리
클릭 시 해당 글로 이동
Update 2017.01.30
Composing Methods 메소드구성
- Inline Method 즉시처리하는 메소드
- Extract Variable
- Inline Temp
- Replace Temp with Query
- Split Temporary Variable
- Remove Assignments to Parameters 매개변수에 대한 할당 제거
- Replace Method with Method Object
- Subsitute Algorithm
Moving Features between Objects
- Move Method
- Extract Class
- Inline Class
- Hide Delegate
- Remove Middle Man
- Introduce Foreign Method
- Self Encapsutate Field
- Replace Data Value with Object
- Change Value to Reference
- Change Reference to Value
- Duplicate Observed Data
- Change Unidrectional Association to Bidirectional
- Change Bidirectional Association to Unidrectional
- Replace Magic Number with symbolic Constant
- Encapsulate Field
- Replace Type Code with Class
- Replace Type Code with Subclasses
- Replace Type Code with State/Strategy
- Replace Subcalss with Fields
Simplifying Conditional Expressions
- Decompose Conditional
- Consolidate Conditional Expression
- Consolidate Duplicate Conditional Fragments
- Replace Nested Conditional with Guard Clauses
- Replace Conditional with Polymorphism
- Introduce Null Object
- Introduce Assertion
- Rename Method
- Remove Parameter
- Separate Query from Modifier
- Parameterize Method
- Replace Parameter with Explicit Methods
- Preserve Whole Object
- Replace Parameter with Method Call
- Introduce PArameter Object
- Remove Setting Method
- Hide Method
- Replace Construcotr with Factory Method
- Replace Error Code with Exception
- Replace Exception with Test
- Pull Up Field
- Pull Up Method
- Push Down Field
- Extract Subclass
- Extract Superclass
- Extract Interface
- Collapse Hierachy
- Form Template Method
- Replace Inheritance with Delegation
- Replace Delegation with Inheritance
'컴퓨터 > 이론 및 tools 사용' 카테고리의 다른 글
[알고리즘] 퀵정렬 Quick Sort (0) | 2017.01.23 |
---|---|
[리팩토링 refactoring] Composing methods 메소드 구성 - Remove assignments to parameters 매개 변수에 대한 할당 제거 (0) | 2017.01.23 |
[리팩토링 refactoring] Composing Method 메소드 구성 (0) | 2017.01.23 |
[알고리즘] 우선순위 큐 최소힙 구조, 최대힙 구조 (0) | 2017.01.21 |
CVIPTools로 주파수 변환, 푸리에변환 fourier 이산 코사인 변환 discrete cosine walsh-hadamard 웨이브릿 Wavelete (0) | 2017.01.21 |
CVIPTools로 Hough Transform 허프 변환 (0) | 2017.01.21 |
[리팩토링 refactoring] Simplifying Method Calls 메서드 호출 단순화 - Add Parameter 매개변수 추가 (0) | 2016.11.24 |