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

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. 

主站蜘蛛池模板: 临海市| 江源县| 秭归县| 布拖县| 齐河县| 精河县| 菏泽市| 玉门市| 寿阳县| 定陶县| 凌云县| 香港 | 金乡县| 徐汇区| 海阳市| 巴中市| 台安县| 阳信县| 锦州市| 台东县| 台南县| 焉耆| 桐城市| 湘潭市| 乐安县| 建阳市| 仁寿县| 社旗县| 衡阳县| 丰县| 岳普湖县| 裕民县| 胶州市| 白朗县| 临朐县| 海淀区| 北海市| 顺义区| 鹤壁市| 健康| 莱阳市|