Skip to content

Conversation

JiEung2
Copy link

@JiEung2 JiEung2 commented Mar 23, 2025

μ•ˆλ…•ν•˜μ„Έμš”, 4단계도 μž˜λΆ€νƒλ“œλ¦½λ‹ˆλ‹€!

κ°μ‚¬ν•©λ‹ˆλ‹€.

JiEung2 added 30 commits March 11, 2025 21:28
- split λ©”μ„œλ“œλ₯Ό λΆ„λ¦¬ν•˜μ—¬ split κΈ°λŠ₯만 ν•˜λ„λ‘ κ΅¬ν˜„
- calculateμ—μ„œ κΈ°λŠ₯듀을 λͺ¨μœΌλŠ” μ—­ν• κ³Ό 합을 κ΅¬ν•˜λŠ” 역할을 λ™μ‹œμ— μˆ˜ν–‰ν•˜κ³  μžˆμ—ˆκΈ° λ•Œλ¬Έμ— ν•˜λ‚˜μ˜ μ±…μž„λ§Œμ„ μ£ΌκΈ° μœ„ν•΄ 뢄리
- for문으둜 κ΅¬μ„±λ˜μ–΄μžˆλ˜ λΆ€λΆ„ stream으둜 λ³€κ²½
- 곡백이 μž…λ ₯λ˜μ—ˆλŠ”μ§€ κ²€μ‚¬ν•˜λŠ” κΈ°λŠ₯의 isEmptyλ₯Ό isBlank둜 λ³€κ²½. isEmptyλŠ” 빈 λ¬Έμžμ—΄λ§Œ νŒλ³„ν•  수 있고 곡백 λ¬Έμžμ—΄μ€ νŒλ³„ν•  수 μ—†κΈ° λ•Œλ¬Έ
- Pattern.comple(REGEX) 뢀뢄을 μƒμˆ˜λ‘œ μ„ μ–Έν•˜μ—¬ μ‚¬μš©. Pattern κ°μ²΄λŠ” 비싼객체이기 λ•Œλ¬Έμ— μƒμˆ˜λ‘œ μ„ μ–Έ ν›„ μž¬μ‚¬μš©ν•˜κΈ° μœ„ν•΄
- μŒμˆ˜μΈμ§€ κ²€μ¦ν•˜λŠ” λ©”μ„œλ“œμ˜ νƒ€μž…μ„ void둜 λ³€κ²½
jieung and others added 29 commits March 18, 2025 12:35
- 숫자λ₯Ό ν…ŒμŠ€νŠΈν•˜κΈ° μœ„ν•΄μ„œλŠ” numberGeneratorλ₯Ό μΆ”μƒν™”ν•˜λΌλŠ” ν”Όλ“œλ°± 반영
- RandomNumberGeneratorλ₯Ό ν…ŒμŠ€νŠΈν•˜κΈ° νž˜λ“œλ―€λ‘œ μΈν„°νŽ˜μ΄μŠ€λ₯Ό 톡해 좔상화
- 일급 μ»¬λ ‰μ…˜ ν™œμš©
- μžλ™μ°¨ λŒ€μˆ˜κ°€ μ•„λ‹Œ μžλ™μ°¨ 이름을 μž…λ ₯λ°›λŠ” 둜직으둜 μˆ˜μ •
Copy link

@ksy90101 ksy90101 left a comment

Choose a reason for hiding this comment

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

ꡬ쑰가 κΉ”λ”ν•΄μ„œ 큰 ν”Όλ“œλ°±μ€ μ—†μŠ΅λ‹ˆλ‹€~
κ°„λ‹¨ν•œ ν”Όλ“œλ°±μ„ λ‚¨κ²¨λ‘μ—ˆμœΌλ‹ˆ ν™•μΈν•œλ²ˆ λΆ€νƒλ“œλ¦½λ‹ˆλ‹€!
μ–Έμ œλ“  κΆκΈˆν•œκ²Œ μžˆλ‹€λ©΄ DMμ£Όμ„Έμš”~

public class Car {
private final static int BASE_NUMBER = 4;
private final static int MAX_NAME_LENGTH = 5;
private final String name;

Choose a reason for hiding this comment

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

Name도 ν•œλ²ˆ μ›μ‹œκ°’ 포μž₯을 ν•΄λ³΄μ‹œλ©΄ μ–΄λ–¨κΉŒμš”?

import java.util.List;
import java.util.stream.Collectors;

public class Cars {

Choose a reason for hiding this comment

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

μ΄λŸ¬ν•œ 고민을 해봐도 쒋을거 κ°™μ•„μš”.

μš°μŠΉμžλΌλŠ”κ²ƒμ€ 어디에 μ‘΄μž¬ν• κΉŒμš”?

Cars λ‚΄μ—μ„œ μš°μŠΉμžκ°€ μ‘΄μž¬ν•˜μ§€ μ•Šμ„κΉŒμš”?

Carsκ°€ 우승자λ₯Ό returnν•˜λŠ”κ²Œ μ–΄μšΈλ¦¬μ§€ μ•Šμ„κΉŒμš”?

@@ -0,0 +1,17 @@
package domain;

public class Position {

Choose a reason for hiding this comment

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

position은 0 미만의 값이 될수 μžˆμ„κΉŒμš”?

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