생성자 대신 정적 팩터리 메서드를 고려하라 #46
shkisme
started this conversation in
1. 개발 관련 글 모음
Replies: 1 comment 4 replies
-
혹시 글에서 아래 내용에 대해 더 설명해주실 수 있나요? 잘 이해가 안 가서 여쭤봅니다. ㅎ
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
생성자 대신 정적 팩터리 메서드를 고려하라
이번 글은 이펙티브 자바 아이템 1 내용을 읽고 정리한 글입니다. 예전에 휘갈겨 작성한 글을 다듬어서 남에게 설명하듯 최대한 알아보기 쉽게 다시 작성했습니다.
+) 책에 기록되어 있는 예제 코드가 적절하고 알아보기도 쉽다고 느껴서 따로 코드를 만들어보지는 않았습니다!
Beta Was this translation helpful? Give feedback.
All reactions