Skip to content

Conversation

@taein233
Copy link

@taein233 taein233 commented Mar 25, 2025

PR을 제출하라는것을 몰라서 늦게 제출하게 되었습니다. 죄송합니다. java를 사용하는게 많이 미숙해서 정신없이 코드를 짠거 같아요. 2주차 강의를 토대로 많이 뜯어고쳐 보겠습니다.

Copy link

@BaeJinho4028 BaeJinho4028 left a comment

Choose a reason for hiding this comment

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

커밋과 코드가 좋다고 말씀드리긴 어려울 것 같습니다. 코드도 PR을 제출하려고 급하게 작성하신 모습도 보입니다. 차라리 늦더라도 본인 학습을 위해 더 퀄리티있게 작성하는게 낫지 않았을까요? 다른분들의 코드를 보며 좋은 기술들을 많이 훔쳐서 본인 기술로 만드시는 것을 추천 드립니다.

이렇게 과제를 마감에 급하게 간단하게 하게되면 얻어가는것도 적고 끝까지 유지하기도 어렵습니다. 저는 중고등학교부터 코딩 공부를 미리했으면 좋았을텐데라는 후회를 합니다. 현재 취업까지 많이 남으셨으니 위기감이 부족할 수 있지만, 나중에는 더욱 험난한 채용시장에서 취업하려면 조금이라도 일찍 준비해야합니다. 벌써 자바부터 공부하는 것이 어려운 과정인 것은 이해하지만, 좀더 공부에 몰두하셔서 저와 같은 후회를 안남기시기를 하는 바람에 말씀드렸습니다. 이번주차 과제 고생하셨습니다.

docs/README.md Outdated
Comment on lines 1 to 4
feat : 자동차 이름 입력
feat : 이름 글자 5글자 이상시 오류 발생
feat : 시도할 횟수 입력
feat : 0~9중에서 랜덤한 정수 생성

Choose a reason for hiding this comment

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

따로 적은 이유가 있을까요?

Comment on lines +37 to +44
public class Random{

}
@Override
public void runMain() {

Application.main(new String[]{});

Choose a reason for hiding this comment

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

이건 삭제하셔도 됩니다.

Comment on lines +7 to +26
class RandomNum{
private int num = 0;
private int car_num = 0;
public int random_num(){
num = Randoms.pickNumberInRange(0, 9);
if(num >= 4) car_num += 1;
return car_num;
}
}
class Carprint{
StringBuilder car_position = new StringBuilder();

public String print_car(int go_car_int){
String car_position = "-".repeat(go_car_int);
return car_position;
}
}
class Winner {
//우승자 출력
}

Choose a reason for hiding this comment

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

클래스들을 하나의 파일에 모두 작성하는 것은 좋지 않습니다.

Comment on lines +53 to +61
for(int k = 0; k < input_num; k++){
for(int j = 0; j < name.length; j++){
go_number[j] = cars[j].random_num();
}

for(int j = 0; j < name.length; j++){
System.out.println(name[j] + " : " + p_cars[j].print_car(go_number[j]));
}
}

Choose a reason for hiding this comment

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

리뷰하는 3자의 입장에서 이러한 코드는 의미를 파악하기 어렵습니다. 잘 모듈화해보시고, 객체지향적인 설계를 해보시길 바랍니다.

Comment on lines +1 to +4
feat : 자동차 이름 입력
feat : 이름 글자 5글자 이상시 오류 발생
feat : 시도할 횟수 입력
feat : 0~9중에서 랜덤한 정수 생성하는 클래스 생성

Choose a reason for hiding this comment

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

해당 내용을 여기에 작성하신 이유가 있나요?

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