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

[2주차] 4장. 유스케이스 구현하기_공은미 #28

Closed
eunmik opened this issue Feb 22, 2022 · 1 comment
Closed

[2주차] 4장. 유스케이스 구현하기_공은미 #28

eunmik opened this issue Feb 22, 2022 · 1 comment

Comments

@eunmik
Copy link

eunmik commented Feb 22, 2022

  • p.43 빌더를 사용하면 유효하지 않은 상태의 불변 객체를 만드려는 시도에 대해서는 경고해주지 못한다고 하는데 그러면 빌더는 언제 써야 좋은걸까요? 저는 파라미터가 많을 때 가독성을 높이기 위해 빌더를 사용했던 거 같은데 책에서는 IDE가 충분히 빌더를 사용하지 않더라도 가독성을 높이는데 힌트를 준다고 하니 빌더를 굳이 앞으로 사용할 필요가 없는것인가~ 생각이 들었습니다.

  • p.50 읽기 전용 작업을 유스케이스라고 언급하는 것은 조금 이상하다. 라고 책에 나와있는데 왜 이상하죠..?
    위키피디아에 써있는 유스케이스의 정의는 행위자(액터)와 액터가 요구하여 시스템이 수행하는 일의 목표인데,
    계좌 잔고 보여주기는 계좌 소유자에게 게좌 잔고를 보여주기를 목표인 유스케이스가 될 수 없는건가요??

@eunmik
Copy link
Author

eunmik commented Feb 28, 2022

  • 유동성있게 파라미터를 사용해야 할 때 빌더패턴을 사용하면 좋을 것 같다.
  • 유스케이스랑 사용자 입장에서 쓰임새를 결정하는 것.

@eunmik eunmik closed this as completed Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant