Extension Traits/Slots

S
sean@clipperadams.com
Fri, Mar 18, 2022 7:28 PM

Has this ever been considered? We can add methods from a package different than the host class and thereby avoid dirtying its package, but what if we could do the same for traits and slots?

Has this ever been considered? We can add methods from a package different than the host class and thereby avoid dirtying its package, but what if we could do the same for traits and slots?
MD
Marcus Denker
Sat, Mar 19, 2022 8:27 AM

On 18 Mar 2022, at 20:28, sean@clipperadams.com wrote:

Has this ever been considered? We can add methods from a package different than the host class and thereby avoid dirtying its package, but what if we could do the same for traits and slots?

Yes, for Variables this is one of the thinks I want to experiment with. Variables being first class objects makes this now possible.

Marcus
> On 18 Mar 2022, at 20:28, sean@clipperadams.com wrote: > > Has this ever been considered? We can add methods from a package different than the host class and thereby avoid dirtying its package, but what if we could do the same for traits and slots? > Yes, for Variables this is one of the thinks I want to experiment with. Variables being first class objects makes this now possible. Marcus