Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erfidev/design_patterns
design patterns in go programming language
https://github.com/erfidev/design_patterns
design-patterns golang
Last synced: about 5 hours ago
JSON representation
design patterns in go programming language
- Host: GitHub
- URL: https://github.com/erfidev/design_patterns
- Owner: ErfiDev
- License: mit
- Created: 2022-08-26T14:07:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-12T11:47:59.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T18:05:32.851Z (5 months ago)
- Topics: design-patterns, golang
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Software design patterns
---
In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code. Rather, it is a description or template for how to solve a problem that can be used in many different situations. Design patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system.
## Practice
---
Design patterns can speed up the development process by providing tested, proven development paradigms. Effective software design requires considering issues that may not become visible until later in the implementation. Freshly written code can often have hidden subtle issues that take time to be detected, issues that sometimes can cause major problems down the road. Reusing design patterns helps to prevent such subtle issues, and it also improves code readability for coders and architects who are familiar with the patterns.
## Classification and list
---
Design patterns had originally been categorized into 3 sub-classifications based on what kind of problem they solve.
#### Creational patterns:
These patterns provide various object creation mechanisms, which increase flexibility and reuse of existing code.
#### Structural patterns:
These patterns explain how to assemble objects and classes into larger structures while keeping these structures flexible and efficient.
#### Behavioral patterns:
These patterns are concerned with algorithms and the assignment of responsibilities between objects.
## Maintainer:
by Erfan hanifezade