Better HN
top
new
best
ask
show
jobs
Log in
Sign up
DiscoBeat
1 karma · joined May 7, 2014 (12y ago) · 2 submissions
Submissions
comment 12y ago ·
link
·
parent
You got a point. Let me add that little objects allow you change inheritance for composition more easily.
comment 12y ago ·
link
·
parent
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.