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

What are design patterns?

There are different misconceptions surrounding design patterns. In general, they are as follows:

  • Missing language features
  • Not necessary in dynamic language
  • Relevant only to object-oriented languages
  • Relevant only to enterprises

But actually, design patterns are just a proven way to solve a common problem. As a concept, they are not limited to a specific programming language (Java), nor to a family of languages (C-family, for example), nor are they limited to programming in general. You may have even heard of design patterns in software architecture, which discuss how different systems can efficiently communicate with each other. There are service-oriented architectural patterns, which you may know as Service-Oriented Architecture (SOA), and microservice design patterns that evolved from SOA and emerged over the past few years. The future will, for sure, bring us even more design pattern families.

Even in the physical world, outside software development, we're surrounded by design patterns and commonly accepted solutions to a certain problem. Let's look at an example.

主站蜘蛛池模板: 安平县| 灵宝市| 安仁县| 贺兰县| 桦川县| 高州市| 韶关市| 婺源县| 黄浦区| 唐山市| 泰宁县| 南昌县| 莲花县| 文安县| 乌拉特前旗| 漳平市| 合江县| 富裕县| 白水县| 丰城市| 南溪县| 白河县| 崇义县| 田林县| 安远县| 习水县| 逊克县| 黑龙江省| 南汇区| 新丰县| 江津市| 吐鲁番市| 兰考县| 班玛县| 瓦房店市| 湾仔区| 凤冈县| 安龙县| 永福县| 开鲁县| 渑池县|