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

Sohyupar java lv0 #3

Open
wants to merge 11 commits into
base: sohyupar
Choose a base branch
from
Open

Sohyupar java lv0 #3

wants to merge 11 commits into from

Conversation

saewoo1
Copy link

@saewoo1 saewoo1 commented Jan 8, 2024

No description provided.

Copy link
Contributor

@Ssuamje Ssuamje left a comment

Choose a reason for hiding this comment

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

LGTM 좋슴다

Comment on lines +6 to +7
Jpark2 jpark2 = new Jpark2();
Daewoole daewoole = new Daewoole(jpark2.getMentions());
Copy link
Contributor

Choose a reason for hiding this comment

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

jpark2 객체에서 getMentions로 주입해주는 부분 좋은 것 같습니다! 다만 private final List mentions가 아닌 private final static으로 지정해서 클래스 자체에서 불러오도록 하면 더 좋았을 것 같아요!


// 범위 내의 랜덤값 생성
private int generateRandomNumberInRange(int min, int max) {
Random random = new Random();
Copy link

@enaenen enaenen Jan 10, 2024

Choose a reason for hiding this comment

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

Random과 ThreadLocalRandom 에 대해서도 확인해보시면 좋을 것 같습니다

https://velog.io/@sojukang/Random-%EB%8C%80%EC%8B%A0-ThreadLocalRandom%EC%9D%84-%EC%8D%A8%EC%95%BC-%ED%95%98%EB%8A%94-%EC%9D%B4%EC%9C%A0

구조적으로는 더 말씀드릴게 없네요 너무 굳

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.

3 participants