in reply to How to name a subclass of an object class?

When you roll a pair of dice, you do not ask the die cup, or the table to total them. There seem little benefit of wrapping 2 dice in a collective object, so that you can add a method to sum their values.

my $score = sum $dice->roll;

Doesn't look like it would benefit from encapsulation to me?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.