> On 23 Feb 2015, at 17:46, Yuriy Tymchuk <[email protected]> wrote:
>
> Hi,
>
> so my idea is that maybe we can create traits for common classes(behaviors)
> and methods properties. Because besides the real ones there are ring,
> monticello and other definitions. It would be nice if one could browse the
> trait that defines common properties for all the definitions + if someone
> needs a custom property - there is one place to add it.
What is clear is that we need to unify the API. We now have
propertyValueAt:
in CompiledMethod and Behaviour, while RBProgramNode uses
propertyAt:
and Morph even
valueOfProperty:
I think the best is just propertyAt:, we don’t have “valueAt:” in Array, either.
As for a shared Trait… the implementation is quite different in all of them...
Marcus