Skip to content

[크리스마스 프로모션] 김예지 미션 제출합니다.#21

Open
Yeji-Kim-Erica wants to merge 22 commits intowoowacourse-precourse:mainfrom
Yeji-Kim-Erica:Yeji-Kim-Erica
Open

[크리스마스 프로모션] 김예지 미션 제출합니다.#21
Yeji-Kim-Erica wants to merge 22 commits intowoowacourse-precourse:mainfrom
Yeji-Kim-Erica:Yeji-Kim-Erica

Conversation

@Yeji-Kim-Erica
Copy link
Copy Markdown

No description provided.

1. 구조 개선
- DiscountPolicy 전략 패턴 적용 및 클래스 분리

2. 최적화
- Benefit 객체 EnumMap 적용 및 EMPTY 상수 도입
- DiscountService 불필요한 객체 생성 방지 및 로직 개선

3. 기타
- Controller 입력 예외 발생 시 재시도 로직 구현
- Bill, DiscountService역할 재정의
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