Design Patterns In Programming
- 2020年8月11日
- 技術情報
In software engineering, a design pattern is a general solution to a common problem in software design. A design pattern is not a finished design that can be directly transformed into code. It is a description or template for how to solve a problem that can be used in many different situations.
Design patterns can speed up the development process by providing tried and tested development paradigms. Effective software design requires considering issues that may not be visible until later in implementation. Reusing design patterns helps prevent subtle problems that can cause major problems and improves code readability for coders and architects familiar with the patterns.
Generally , there are 23 kinds of design patterns under three main groups called creational, structural and behavioral.
Under the creational design pattern.
- Abstract Factory
- Builder
- Factory Method
- Object Pool
- Prototype
- Singleton
Structural design pattern
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Private Class Data
- Proxy
Behavioral design pattern
- Chain of responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Null Object
- Observer
- State
- Strategy
- Template method
- Visitor
I will talk about those patterns one by one in the coming weeks, see ya.
By Yuuma.
yuuma at 2020年08月11日 11:00:44