Hi all

I have some methods receiving either a Class or a Trait instance as
parameter, so I usually call variables with names like
'aClassOrTrait'. Searching for a more synthetic name, I wonder if
'aBehavior' would be fine.

But IMO these examples show contradictions:

- Trait *is* a behavior:

TBehaviorCategorization users --->  an IdentitySet(Class Trait)

TPureBehavior users ---> an IdentitySet(TraitBehavior Behavior)
  (actually this makes me think 'aPureBehavior' is another alternative
for my variables)

- Trait is *not* a behavior:

TBehaviorCategorization isBehavior ---> false

TClassAndTraitDescription users ---> an IdentitySet(ClassDescription
TraitDescription)
  (I both are behaviors, why not call it TBehaviorDescription?)


Thanks in advance for your help.
Martín

Reply via email to