목록Design Patterns (2)
Kelly's journey to a coding master
Factory Method & Abstract Factory
https://victorydntmd.tistory.com/300 [디자인패턴] 추상 팩토리 패턴 ( Abstract Factory Pattern ) 추상 팩토리 패턴 ( Abstract Factory Pattern )추상 팩토리 패턴이라는 이름만 봐서는 팩토리 메서드 패턴과 비슷해보이지만, 명확한 차이점이 있습니다. 팩토리 메서드 패턴조건에 따른 객체 생성을 victorydntmd.tistory.com 1) Factory Method https://bcp0109.tistory.com/367 Factory 패턴 (2/3) - Factory Method (팩토리 메서드) 패턴 1. Overview Fact..
Design Patterns
2023. 5. 3. 22:54

Singleton(싱글톤) is on of the Creational patterns(생성 패턴). Then, what is Creational Patterns(싱글톤)? - Abstract the instantiation process and hide the details of object interfaces - Give flexibility in what gets created, who creates it, how it gets created and when. - ex) Singleton, Factory Method, Abstract Factory, Builder, etc. What is Singleton pattern(생성 패턴)? Briefly, Singleton pattern can be des..
Design Patterns
2023. 5. 3. 13:36