in reply to Re^3: Creating dynamic parent/child relationships
in thread Creating dynamic parent/child relationships
... most likely, Roles are just the wrong tool. Roles are just inheritance in disguise and only make sense when you have mostly identical behaviour that you want to customize in small parts.
What you have is a set of behaviours that you want to arrange in a sequence, potentially leaving out some parts. This is not easily modeled by inheriting things and much easier modelled by an array that contains the steps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Creating dynamic parent/child relationships
by nysus (Parson) on Sep 04, 2019 at 13:21 UTC | |
by Corion (Patriarch) on Sep 04, 2019 at 13:28 UTC | |
by nysus (Parson) on Sep 04, 2019 at 14:36 UTC |