Evans 原文解读

Rather than focusing on the attributes or even the behavior, strip the Entity
object’s definition down to the most intrinsic characteristics, particularly
those that identify it or are commonly used to find or match it. Add only
behavior that is essential to the concept and attributes that are required by
that behavior.

不要片面地只着眼对象的属性或行为,要像剥洋葱一样剥离实体一些不重要外部定义,直至达到其本质定义,特别是寻找能够用于寻找和发现匹配实体的那些定义(根据这些定义能够立即发现那个实体,就是它,毫无疑义标识出),找到这些本质定义后,根据其增加一些必要的行为和必要的属性,当然属性必须和行为相关,也就是说,属性是通过行为操作,属性是私有的,不能公开,公开就是全局变量,这是不行的,必须通过函数方法实现公开,其他对象对这个属性修改必须经过这个行为,行为是属性的守护者。