[5기 남은찬] Shorten-URL 과제 제출합니다#57
Open
EunChanNam wants to merge 34 commits intoprgrms-be-devcourse:eunchannamfrom
Open
[5기 남은찬] Shorten-URL 과제 제출합니다#57EunChanNam wants to merge 34 commits intoprgrms-be-devcourse:eunchannamfrom
EunChanNam wants to merge 34 commits intoprgrms-be-devcourse:eunchannamfrom
Conversation
* IdGenerator 는 아직 구현하지 않음
ghost
reviewed
Dec 23, 2023
There was a problem hiding this comment.
과제 고생하셨습니다!!
코드는 하시는 프로젝트랑 같이 올려주신 것 같아요 😭
그래서 질문주신 부분들 위주로 답변 드리겠습니다.
-
말씀주신대로 디코딩에 대한 부분은 없어도 될 것 같습니다.
다만 현재 인코딩 부분에서 디코딩 지원이나 url이 많아지면 문제가 있을 것 같습니다.
"A" 로 패딩 처리를 하게되면 실제로 "A"가 들어가게 되었을 때 구분하는 로직이 없어보입니다. -
모든 부분에는 합당한 이유가 있다면 패키지 구조에 대해선 정답이 없다고 생각해서 비즈니스 부분이라고 생각하신다면 맞는 판단으로 보입니다.
-
2번과 마찬가지로 패키지 구조는 판단에 따르는거지만, 인터페이스와 구현체가 다른 패키지에 있는 건 응집력이 떨어지는 구조라고 생각합니다. 그럴 이유도 없고, 의존 그래프가 어색하게 엮일 것으로 우려됩니다.
ghost
approved these changes
Dec 23, 2023
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.
📌 과제 설명
데이터베이스
URL 입력
URL 단축 결과
👩💻 요구 사항과 구현 내용
✅ PR 포인트 & 궁금한 점
Base62Encoder) 저는 비즈니스 성격이라고 풀어내서 domain 패키지 안에 녹여서 풀었는데, 이에 대해서 맞는 판단인지 궁금합니다IdGenerator대해서는 인터페이스는 domain 패키지에 넣고 구현체 자체는 Infrastructure 에 넣고 풀어냈는데,IdGenerator인터페이스가 domain 패키지에 위치하는게 맞는지 궁금합니다