You got a point. Let me add that little objects allow you change inheritance for composition more easily.
Do you see "having a state" as "being able to change state" ? Because classes may be used to represent concepts or objects from the real world. Some of them may not have a changeable state but inner fields certainly.
You got a point. Let me add that little objects allow you change inheritance for composition more easily.
Do you see "having a state" as "being able to change state" ? Because classes may be used to represent concepts or objects from the real world. Some of them may not have a changeable state but inner fields certainly.