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

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.

主站蜘蛛池模板: 子长县| 甘肃省| 敦化市| 吴旗县| 镇安县| 疏附县| 南华县| 屏南县| 鸡西市| 盘锦市| 科技| 南木林县| 长宁县| 左权县| 云阳县| 邯郸县| 老河口市| 西华县| 克东县| 年辖:市辖区| 垫江县| 库尔勒市| 武隆县| 阿瓦提县| 富裕县| 江都市| 漠河县| 丰镇市| 满城县| 隆德县| 略阳县| 定边县| 嘉鱼县| 新蔡县| 屏南县| 浙江省| 沭阳县| 麻阳| 介休市| 绥阳县| 宣恩县|