Skip to content

[item1] 정적 팩터리 메서드, 생성자로도 충분히 가능하지 않나? #9

Open

Description

@jun108059

아이템 1. 생성자 대신 정적 팩터리 메서드를 고려하라

@youngreal 영진님 의견

https://www.yegor256.com/2017/11/14/static-factory-methods.html

해당 글을 보면, 생성자로도 충분히 커버 가능해보입니다. 어떻게 생각하시나요?

Activity

  1. added this to the chapter2 milestone on Sep 8, 2022
  2. added
    🔥 in discussion
    on Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔥 in discussion

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions