Skip to content
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

Open
wants to merge 26 commits into
base: rudiamoon_study
Choose a base branch
from
Open

#step2 PR #5

wants to merge 26 commits into from

Conversation

impactrudia
Copy link

No description provided.

Copy link

@willing1026 willing1026 left a 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");

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();

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) {

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;

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) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사용되는곳이 없대!

src/main/java/nextstep/main/vo/Line.java Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants