[3단계 - 사다리 타기] 최지수 미션 제출합니다 #68
Open
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.
주노 안녕하세요
3단계 미션도 화이팅입니다
고민한 점
사다리를 통해 실행된 결과를 출발점과 끝점을 통해 나타내는 미션
Controller 클래스에서 모두 해결해도 괜찮나 생각이 들었지만 시작점을 지정해 주고, 움직이고, 결과를 출력하는 과정에서 모두 한 클래스에 넣으면 책임이 과다하다고 생각해 분리해서 진행해 봤어요
아직 명확한 기준은 없지만 출력하는 부분과 다른 기능들을 나눠야겠다고는 생각이 잡히네요
궁금한 점
테스트 코드에서 임의로 사다리를 만들어서 테스트를 진행했어요
다만 작은 크기의 사다리를 만들어서 진행해 큰 문제는 없었지만 나중에 100x100크기의 사다리에서 테스트를 진행하라는 요구사항이 생긴다면 어려움이 생길 거 같아요
임의의 크기를 만들어 진행하는 것은 한계점이 있다고 생각이 들어요