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

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.

主站蜘蛛池模板: 淄博市| 鄱阳县| 沙雅县| 普定县| 洛川县| 葵青区| 周至县| 军事| 彭阳县| 华蓥市| 大方县| 婺源县| 马边| 沿河| 鹤庆县| 灵山县| 上思县| 永丰县| 通城县| 古交市| 峨山| 长武县| 长葛市| 怀安县| 汝城县| 伊宁市| 通许县| 高邑县| 罗田县| 疏附县| 舟山市| 淮滨县| 乐都县| 丰顺县| 卢龙县| 宁晋县| 夏津县| 江津市| 游戏| 行唐县| 马公市|