Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[박상범] 챕터 3: 액션과 계산, 데이터의 차이를 알기 #27

Merged
merged 1 commit into from
May 22, 2024

Conversation

sangbooom
Copy link
Contributor

No description provided.

Copy link
Member

@hyesungoh hyesungoh left a comment

Choose a reason for hiding this comment

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

👍 👍 👍 👍 👍 👍 👍 고생하셨어용

Copy link
Contributor

@Dongkyuuuu Dongkyuuuu left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!!

액션은 언제 부르는지(순서), 얼마나 부르는지(반복)에 따라 다른 결과를 낼 수 있음
액션이 다루기 힘듦음 ⇒ 가능한 작게 만들기 ⇒ 액션에서 결정이나 걔획과 관련된 부분은 계산으로 빼낼 수 있음

(p 41) 쿠폰에 등급 매기기 ⇒ 이게 왜 데이터? 쿠폰 등급 매기기가 결정 아닌가? 왜 액션이 아니지? 쿠폰 등급이 데이터아닌가?
Copy link
Contributor

Choose a reason for hiding this comment

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

로직상에서 유동적으로 변경되는 것이 아닌, 데이터베이스에 입력될 때 등급을 산정하고 들어가서 그런거 아닐까 라는 생각이들긴하네요!! 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

오호 그렇네요! 답변 감사합니다! 👍🏻

@hyesungoh hyesungoh merged commit d21f595 into main May 22, 2024
1 check passed
@hyesungoh hyesungoh deleted the 챕터3/박상범 branch May 22, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants