정적 팩토리 메소드의 장단점? #29
jimi567
started this conversation in
Clean Code
Replies: 3 comments
-
|
장점:
단점:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
정적 팩터리 메서드는 객체의 생성을 담당하는 클래스 메서드입니다. 정적 팩터리 메서드의 장점은 다음과 같습니다. 이름을 가질 수 있습니다. 단점은 다음과 같습니다. 정적 팩터리 메서드를 다른 개발자들이 찾기 어려울 수 있습니다. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
이름 부여 찾기 어려움 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
.
Beta Was this translation helpful? Give feedback.
All reactions