in reply to Re^6: Can't locate object method- Issue
in thread Can't locate object method- Issue
Certainly, but at least to my superficial understanding of Roles, you are not supposed to change your mind after the fact. Once you've mixed together some Roles in a class, you are not supposed to change the class further, or even worse, make changes on a per-object basis.
If you need to dynamically change the class hierarchy/composition, or need to change the behaviour on a per-object basis, in my opinion, you should look at using objects that delegate to other objects instead.
Meta: I came back to this comment due to the (maybe continued) discussion of the topic in 1056122.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Can't locate object method- Issue
by jdporter (Paladin) on Oct 01, 2013 at 11:59 UTC | |
by Corion (Patriarch) on Oct 01, 2013 at 12:03 UTC |