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

Updating markdown document using visitors

In Chapter 1Advanced TypeScript Features, we briefly touched on patterns. Simply put, patterns in the software development process are general solutions to particular problems. This simply means that we use the name of a pattern to convey to others that we are solving a problem using particular and well-established code examples. For instance, if we say to another developer that we are solving a problem using a mediator pattern, as long as the other developer is aware of patterns, they will have a pretty good idea as to how we will be structuring our code.

When I was planning this code out, I made a conscious decision early on that we would be using something called the visitor pattern with our code. Before we look at the code we are going to create, we will have a look at what this pattern is and why we are going to use it.

主站蜘蛛池模板: 江陵县| 乌兰察布市| 色达县| 郁南县| 武安市| 卢氏县| 乐山市| 广饶县| 策勒县| 锡林浩特市| 黎平县| 昭平县| 曲阳县| 额尔古纳市| 张家界市| 靖江市| 通许县| 灵川县| 松溪县| 余姚市| 大洼县| 都昌县| 法库县| 肥西县| 樟树市| 宁城县| 伊通| 桃园市| 申扎县| 吉安县| 通州区| 呼和浩特市| 丰台区| 电白县| 宝清县| 西和县| 汨罗市| 星座| 谷城县| 专栏| 上饶县|