Refactoring Flashcards

1
Q

Rename Method

A

メソッドをリネームして、コードを分かりやすくする。

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Change Function Declaration

A
関数名の変更。
メソッド名の変更。
パラメータの追加/引き数の追加。
パラメータの削除/引き数の削除。
シグネチャの変更。
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Change Reference to Value

A

参照から値への変更

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Change Value to Reference

A

値から参照への変更

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Collapse Hierarchy

A

階層の平坦化

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Combine Functions into Class

A

???

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Combine Functions into Transform

A

???

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Consolidate Conditional Expression

A

条件記述の統合

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Decompose Conditional

A

条件記述の分解

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Encapsulate Collection

A

コレクションのカプセル化

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Encapsulate Record

A

???

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Encapsulate Variable

A

???

変数のカプセル化

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Extract Class

A

クラスの抽出

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Extract Function

A

メソッドの抽出

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Extract Superclass

A

スーパークラスの抽出

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Extract Variable

A

???

変数の抽出

17
Q

Hide Delegate

A

委譲の隠蔽

18
Q

Inline Class

A

クラスのインライン化

19
Q

Inline Function

A

???

メソッドのインライン化

20
Q

Inline Variable

A

???

一時変数のインライン化