-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#step2 PR #5
base: rudiamoon_study
Are you sure you want to change the base?
#step2 PR #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저번주에 다 해놔서 몇가지만 같이 고민해보면 더 좋을거 같아ㅎㅎ
고민해봤으면 좋을거 같은 내용 몇개만 남겼어
} | ||
|
||
public static String personResult(){ | ||
System.out.println("결과를 보고 싶은 사람은?\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 앞쪽에 라인피드\n
추가하면 좋을거 같아!
실행하면 사다리 결과랑 붙어서 나오고 있어
꽝 500 100 200 결과를 보고 싶은 사람은?
|
||
|
||
persons.settingResult(ladder, results); | ||
String personName = InputView.personResult(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all 이 아닌경우에는 반복해서 결과볼 수 있게 바꿔보면 좋을거 같아ㅎㅎ
요구사항에 반복하라는 얘기는 없어보이는데 all일때만 종료되는것 처럼 예시가 나와있어서
all일때만 종료되도록 바꿔보는것도 좋을거 같아!
결과를 보고 싶은 사람은?
pobi
실행 결과
꽝
결과를 보고 싶은 사람은?
all
return this.persons; | ||
} | ||
|
||
public int getStartPosition(String personName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사용되는곳이 없는거 같아
private static final String NAME_SEPARATOR = ","; | ||
|
||
private List<Person> persons; | ||
private List<Person> results; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 어떻게 할지 고민해보면 좋을거 같아ㅠㅠ
Person객체랑 똑같아질거긴 한데, 이걸 어떻게 하면 좋을거 같긴 한데...
this.name = name; | ||
} | ||
|
||
public Person(String name, String result) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사용되는곳이 없대!
No description provided.