Open
Conversation
pstar987
reviewed
Apr 6, 2025
Collaborator
pstar987
left a comment
There was a problem hiding this comment.
기존의 책임 집중을 잘 분산해서 적용해주셨습니다! 추후에 스프링부트 과제 이전에 파스칼, 카멜 표기법에 조금더 익숙해 지실 수 있도록 수정해주시고 다시 한번 표기법 내용 확인해주세요~
Collaborator
There was a problem hiding this comment.
클래스명은 파스칼 표기법에 따라 대문자로 선언해야 합니다
macqueen0987
reviewed
Apr 6, 2025
macqueen0987
left a comment
There was a problem hiding this comment.
잘봤습니다! 여전히 enum 과 해쉬맵 사용하시는 부분이 인상적입니다.
There was a problem hiding this comment.
요구사항 중에 입력이 올바르지 않으면 예외를 발생시켜야 하는데 그부분만 추가되면 좋을것 같습니다.
hyungin0505
reviewed
Apr 8, 2025
Member
hyungin0505
left a comment
There was a problem hiding this comment.
사소하지만 디렉토리 이름 control이 contorll로 오타가 난 것 같아요
Member
There was a problem hiding this comment.
camelCase에서는 언더바 안 들어가는 걸로 알고 있습니다
dp44rk
reviewed
Apr 8, 2025
dp44rk
left a comment
There was a problem hiding this comment.
racestate 상태를 enum class 나타내는 부분이 역시 흥미로웠어요.
좋은 객체지향 코드 보면서 많이 배우고 갑니다!
Comment on lines
30
to
46
There was a problem hiding this comment.
생성자가 파라미터별로 많이 생긴다면 Builder 패턴 사용도 고려해보면 좋을것 같아요.
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.
기존 코드의 문제점
(1) main 함수에 너무 많은 기능들이 직접 작성되어 있음
(2) Java의 네이밍 규칙이 지켜지지 않음
해결
Problem (1)
Problem (2)
[기존 코드]
[개선된 코드]