2006년 10월 10일 화요일

왜 refactoring인가?

사전에서 'refactor' 또는 'refactoring'을 검색하면 검색 결과가 없다고 나온다.


검색어 'refactoring' 에 대한 검색결과가 없습니다.
추천단어

· factoring
· prime factor
· torrefaction
· releasing factor
· spacefaring
· refractory period
· culture factor
· growth hormone releasing factor
· corticotropin releasing factor
· original equipment manufacturing
도대체 일반적으로 refactoring이라고 하는 것은 어디에서 비롯된 것일까?

아~! 먼저, 내가 이런 의문을 갖게 된 것은 butunclebob.com에서 The Morality of Error Checking의 글을읽다 'factor'란 단어를 발견했기 때문이다.
The Morality of Error Checking
So,I'm working on this set of classes that generate Java code. In theprocess, I discover that I have a bunch of private methods on a classand I choose to factor them out into a new class that looks like this:

'factor'를 사전에서 찾아보면 (동사이므로) '인수 분해하다', '채권을 싸게 매입하다.'이다.
ㅡㅡ;; 전혀 말이 맞지 않으므로 Wikipedia의 사전인 Wiktionary에서 'factor'를 검색을 해봤다.

Verb
factor, factors, factored, factoring

  1. To find all of a number's factors (the numbers which divide into the first number evenly), often used in encryption

음.. 이제야 맞는 것 같다. (맞는감?) 그럼 refactor는 To find all of a number's factors again 정도 되지 않을까?

(ㅡㅡ;; 아침부터 뭐하는 짓이지~ . 좋은 하루들 되세요...)

출처:

댓글 없음:

댓글 쓰기