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

Using high cohesion and loose coupling principles

As far as possible, Puppet modules should be made up of classes with a single responsibility. In software engineering, we call this high, functional cohesion. Cohesion in software engineering is the degree to which the elements of a certain module belong together. Try to make each class have a single responsibility, and don't arbitrarily mix together unrelated functionalities in your classes.

主站蜘蛛池模板: 平陆县| 昭觉县| 临城县| 嘉黎县| 保山市| 全州县| 宁德市| 保定市| 雷波县| 上杭县| 大埔区| 新津县| 兴文县| 苍溪县| 治多县| 平利县| 洞口县| 金昌市| 永济市| 灵丘县| 宁海县| 玛多县| 重庆市| 宣化县| 武威市| 泰宁县| 陆河县| 安乡县| 沙坪坝区| 疏附县| 称多县| 湟源县| 额济纳旗| 象山县| 沈阳市| 大兴区| 疏附县| 青龙| 龙山县| 凌云县| 合山市|