Skip to content

๐Ÿš€ 3๋‹จ๊ณ„ - ์‚ฌ๋‹ค๋ฆฌ(๊ฒŒ์ž„ ์‹คํ–‰) #2392

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

Merged
merged 9 commits into from
Apr 19, 2025

Conversation

baki-719
Copy link

๋ฆฌ๋ทฐ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

Copy link

@wheejuni wheejuni left a comment

Choose a reason for hiding this comment

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

์ˆ˜๊ณ ํ•˜์…จ์Šต๋‹ˆ๋‹ค. ๐Ÿ™‡
๋ช‡ ๊ฐ€์ง€ ์˜๊ฒฌ ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

Comment on lines +24 to +25
Line(List<Boolean> points) {
this.points = points;

Choose a reason for hiding this comment

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

์ ‘๊ทผ ์ œ์–ด์ž ์ ์ ˆํžˆ ๋ถ€์—ฌํ•ด์ฃผ์„ธ์š”.
์ œ ์ƒ๊ฐ์—๋Š” ์œ„์— public์œผ๋กœ ์ž‘์„ฑํ•˜์‹  ์ƒ์„ฑ์ž๋ฅผ builder๋‚˜ static of pattern์œผ๋กœ ๋ฐ”๊พธ๊ณ  ์ด ์ƒ์„ฑ์ž๋ฅผ private์œผ๋กœ ๊ฐ€๋ฆฌ๋Š” ๊ฒƒ๋„ ์–‘ํ˜ธํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Copy link
Author

Choose a reason for hiding this comment

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

๋‘˜๋‹ค Lines์™€ test์ฝ”๋“œ์—์„œ๋งŒ ์ ‘๊ทผํ•˜๋‹ˆ๊นŒ default๋กœ ์„ ์–ธํ–ˆ๊ณ 

builder๋‚˜ static of๋Š” ๊ฐœ์ธ์ ์œผ๋กœ ์ด์ •๋„ ๋ถ„๋Ÿ‰์—๋Š” ์‚ฌ์šฉ์•ˆํ•˜๋Š” ์ฃผ์˜์—ฌ์„œ ์‚ฌ์šฉํ•˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.

์ถ”ํ›„ ๋ณ€์ˆ˜๊ฐ€ ๋Š˜์–ด๋‚˜๊ฑฐ๋‚˜ ๋กœ์ง์ด ๋Š˜์–ด๋‚˜๋ฉด ๋ฐ˜์˜์„ ํ•˜๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค!

@wheejuni wheejuni merged commit 5ef8a33 into next-step:baki-719 Apr 19, 2025
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