Skip to content

Step2 1#67

Merged
crongro merged 3 commits intocode-squad:mukeunzifrom
mukeunzi:step2-1
Apr 9, 2019
Merged

Step2 1#67
crongro merged 3 commits intocode-squad:mukeunzifrom
mukeunzi:step2-1

Conversation

@mukeunzi
Copy link
Copy Markdown

@mukeunzi mukeunzi commented Apr 9, 2019

facade pattern complete.

@crongro
Copy link
Copy Markdown
Contributor

crongro commented Apr 9, 2019

@mukeunzi
이미 머지된 step2-1 브랜치내용과 지금 보낸내용이 충돌났네요
확인해주세요.(충돌해결해서 다시 push부탁)

Copy link
Copy Markdown
Contributor

@crongro crongro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

충돌해결 잘 했군요.
잘하셨어요. 머지합니다.

for (let i=0; i<arguments.length; i++){
if(typeof arguments[i] === "undefined"){
throw Error("모든 인자를 입력하세요.");
function checkParamType(rest){
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

참고,
보통 rest라는 이름을 잘 안쓰긴해요.
parms 나 args 가 조금더 나아보이네요.

}
}

function checkParameter(...rest){
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

잘하셨어요~!
중요한 로직이 아닌 것들은 이렇게 추상화시키면 분리하면 좋아요.

@crongro crongro merged commit 1a1fe59 into code-squad:mukeunzi Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants