Conversation
Owner
jihwooon
commented
Jun 6, 2024
- TicketSeller가 Audience에게 티켓을 판매하도록 변경
- Audience가 Bag을 통해 티켓을 구매하도록 변경
- Bag이 초대장 소지 여부에 따라 티켓 구매 로직을 처리하도록 변경
- TicketOffice의 getTicket 메서드를 통해 티켓을 발급하도록 변경
- 관련 클래스들의 생성자를 간소화하고 접근 제어자 변경
- 이번 리팩토링을 통해 객체 간의 협력 방식을 개선하고, 불필요한 메서드 호출을 줄여 코드의 가독성과 유지보수성을 높였습니다.
- TicketSeller가 Audience에게 티켓을 판매하도록 변경 - Audience가 Bag을 통해 티켓을 구매하도록 변경 - Bag이 초대장 소지 여부에 따라 티켓 구매 로직을 처리하도록 변경 - TicketOffice의 getTicket 메서드를 통해 티켓을 발급하도록 변경 - 관련 클래스들의 생성자를 간소화하고 접근 제어자 변경 - 이번 리팩토링을 통해 객체 간의 협력 방식을 개선하고, 불필요한 메서드 호출을 줄여 코드의 가독성과 유지보수성을 높였습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.