On Wed, Jan 9, 2019 at 11:15 AM Konrad Hinsen <konrad.hinsen@fastmail.net> wrote:
Dear Pharo experts,
Hello,
Is there any documentation on traits as implemented in Pharo 7? It's easy to find discussions about the trait feature over the years, plus slides and related stuff, but I am not sure what the current actually implemented version is. I did manage to write and use a first trait (https://github.com/khinsen/EqualityThroughVariablesTrait), but there seem to be more advanced features such as slots that I don't know anything about.
There is documentation on Traits here: https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/T... It might still needs review but it should help. It does not cover slots that is independent of Traits even if both can be used together.
Cheers, Konrad.
-- Cyril Ferlicot https://ferlicot.fr