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

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.

主站蜘蛛池模板: 巴彦淖尔市| 稻城县| 永州市| 吉木萨尔县| 灵璧县| 安康市| 盐山县| 无为县| 惠东县| 武鸣县| 察雅县| 藁城市| 伊金霍洛旗| 惠安县| 芦溪县| 襄樊市| 京山县| 苏尼特左旗| 亳州市| 梁山县| 满洲里市| 高雄市| 麦盖提县| 亚东县| 临夏市| 龙里县| 济宁市| 北票市| 杂多县| 松原市| 依兰县| 阆中市| 台安县| 竹溪县| 南涧| 建宁县| 开平市| 栾城县| 尚义县| 桂平市| 定边县|