Skip to content

step2-1 mission clear#63

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

step2-1 mission clear#63
crongro merged 1 commit intocode-squad:mukeunzifrom
mukeunzi:step2-1

Conversation

@mukeunzi
Copy link
Copy Markdown

@mukeunzi mukeunzi commented Apr 8, 2019

mukeunzi & circus
step2-1 다각형의 넓이 구하기 완료

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.

깔끔한 구현이네요.
잘하셨어요.

@@ -0,0 +1,41 @@
const PIE = Math.PI;
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.

PIE 가 먹고 싶어지..

}

module.exports.cylindrical = function(r, h){
checkParamCount(r, h);
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 95909e2 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