CS - Roadmap.sh/10. Design Patterns(5)
-
10.5 Type Object Pattern (타입 객체 패턴)
※[https://roadmap.sh/computer-science]를 따라서 공부하고 기록한 글입니다. cs - 10. Design Patterns - 10.5 Type Object Pattern Type Object Pattern Type object pattern is a creational design pattern that allows us to create a new object of a type without exposing the object creation logic to the client. It is used when we need to create a new object of a type, but we don’t know which type we need to create until..
2024.03.14 -
10.4 Null Object Pattern(널 오브젝트 패턴)
※[https://roadmap.sh/computer-science]를 따라서 공부하고 기록한 글입니다. cs - 10. Design Patterns - 10.4 Null Object Pattern Null Object Pattern Null object pattern is a design pattern that is used to represent a null value with an object. It is a way to avoid null reference exceptions by providing a default object that does nothing. It is a way to provide a default behavior in case data is not available. 널 객..
2024.03.12 -
10.3 Dependency Injection (DI, 의존성 주입)
※[https://roadmap.sh/computer-science]를 따라서 공부하고 기록한 글입니다. cs - 10. Design Patterns - 10.3 Dependency Injection Dependency Injection Dependency injection is a software design pattern that allows us to decouple the dependencies of a class from the class itself. This allows us to write more flexible and testable code. 의존성 주입은 클래스의 종속성을 클래스 자체에서 분리할 수 있는 소프트웨어 디자인 패턴입니다. 이를 통해 보다 유연하고 테스트 가능한 코드를 작..
2024.03.11 -
10.2 Architectural Patterns(아키텍처 패턴)
※[https://roadmap.sh/computer-science]를 따라서 공부하고 기록한 글입니다. cs - 10. Design Patterns - 10.2 Architectural Architectural Patterns Architectural patterns are a high-level design pattern that focuses on the overall structure of the system. They are similar to design patterns, but they are more concerned with the structure of the system. They are used to solve problems that are common to many softwar..
2024.03.11 -
10. Design Patterns - 10.1 GoF Design Pattern - 10.1.1 Singleton(싱글톤 패턴)
※[https://roadmap.sh/computer-science]를 따라서 공부하고 기록한 글입니다. cs - 10. Design Patterns - 10.1 GoF Design Pattern - 10.1.1 Singleton(싱글톤 패턴) Design Patterns Design patterns are solutions to common problems in software design. They are formalized best practices that the programmer can use to solve common problems when designing an application or system. 디자인 패턴은 소프트웨어 설계의 일반적인 문제에 대한 해결책입니다. 프로그래머가 애플..
2024.03.09