官术网_书友最值得收藏!

Explaining design patterns

Design patterns are sets of solutions to common design problems that occur over and over in development. They work as a solution template in which an abstract solution for a common problem is described and the user then applies it, adapting it to their problem. In object-oriented programming, the design pattern provides a way to design reusable classes and objects for a specific problem as well as defining the relationship between objects and classes. In addition, design patterns provide a common idiom among programming languages that allows architects and software developers to communicate about a common and recurring problem regardless of the programming language they are using. With this, we are able to identify a problem and its solution by the name of the pattern and thinking about a solution by a model point of view in a high abstraction level of language programming details.

The design patterns theme gained strength in 1994 after the Gang of Four (formed by Rich Gamma, Richard Helm, Ralph Johnson, and John Vlissides) wrote Design Patterns: Elements of Reusable Object‐Oriented Software. Here, they described 23 design patterns that were later known as GoF design patterns and are still used today. 

主站蜘蛛池模板: 日喀则市| 平陆县| 康定县| 稻城县| 连南| 石泉县| 宝兴县| 马山县| 新沂市| 进贤县| 固安县| 渝北区| 申扎县| 临海市| 寿光市| 连平县| 衡南县| 武夷山市| 葵青区| 乾安县| 莱芜市| 武宁县| 资源县| 外汇| 彭山县| 道孚县| 霸州市| 忻城县| 岑溪市| 汶川县| 鄂温| 芒康县| 建宁县| 印江| 东兰县| 铁岭县| 巨野县| 来宾市| 丹棱县| 游戏| 游戏|