Request: Mixins in elements

We recently got interface inheritance - thanks for that!

But in the complete picture, I still see one thing missing: Mixins.

Mixins will give an easy way to add standard functionality to classes without resorting to multiple-inheritance.

1 Like

Default Interface Implementations should provide this, mostly?

Hmmm - good one.
Does it support fields too?

afaik only properties and static fields

As far as I know: properties, methods and events.
but events can not be default implemented and fields are missing, compared to mixins.

yea that true. This is smth to think about.

they probably (right now) can’t add storage; not sure, one way to find out.

1 Like