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

  • Mastering Puppet 5
  • Ryan Russell Yates Jason Southgate
  • 69字
  • 2021-07-16 17:46:07

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.

主站蜘蛛池模板: 昭觉县| 太仆寺旗| 齐齐哈尔市| 南郑县| 上栗县| 台中市| 庆元县| 冷水江市| 南雄市| 青河县| 浙江省| 德格县| 青海省| 宜宾市| 吉水县| 新乐市| 霞浦县| 定南县| 彭泽县| 周口市| 施甸县| 米易县| 思南县| 浏阳市| 韩城市| 大埔县| 桃江县| 霍山县| 三都| 龙山县| 建阳市| 常熟市| 分宜县| 鄯善县| 平潭县| 普宁市| 城固县| 霍州市| 嘉义县| 南昌县| 平阴县|