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

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.

主站蜘蛛池模板: 奉新县| 扎鲁特旗| 龙泉市| 西平县| 静安区| 河北省| 沅江市| 伊宁市| 涟源市| 宝鸡市| 澜沧| 东城区| 门源| 饶河县| 木兰县| 沽源县| 正宁县| 静乐县| 太仆寺旗| 汾西县| 海原县| 阜宁县| 方城县| 调兵山市| 鲁山县| 上林县| 永德县| 盐边县| 睢宁县| 琼中| 永登县| 枣阳市| 齐河县| 海兴县| 盐亭县| 曲沃县| 高陵县| 丰县| 旬阳县| 进贤县| 台中市|