8000 블랙잭 미션 Step1 : 리뷰 요청 드립니다! by seongbeenkim · Pull Request #6 · kiworkshop/java-blackjack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

블랙잭 미션 Step1 : 리뷰 요청 드립니다! #6

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

Open
wants to merge 80 commits into
base: seongbeenkim
Choose a base branch
from

Conversation

seongbeenkim
Copy link

안녕하세요 광일 선생님
리뷰 요청 늦게 드려서 죄송합니다..
eef0805 - 초기화 커밋 이후부터 봐주시면 감사하겠습니다.

학습 로그

상태 패턴, 추상 골격 구현 클래스

  • 블랙잭 미션에 상태 패턴을 적용하면서, 플레이어와 딜러가 가지게 되는 중복된 메서드, 인스턴스 변수를 제거하기 위해서 추상 골격 구현 클래스라는 개념을 공부하여 중복을 최소한으로 줄이려고 노력했습니다
  • 참조 : 넥스트 스텝 볼링 미션 피드백 - State 패턴, 아이템 [20] - 추상 클래스 보다는 인터페이스를 우선하라

Deque vs Stack

  • Stack으로 구현했을 때 Sonarlint에서 Stack는 사용하지 않는 것이 좋다라는 경고문을 읽게 되었습니다. 왜 사용하지 않아야 되며 어떤 자료구조로 대체할 수 있는 지 찾아보고 Deque를 적용하였습니다.
  • 참조 : Java 의 Stack 대신 Deque

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.

1 participant
0