> So, here's a crazy thought: why do inheritance, interfaces, and traits
> need to be separate at all?
>
> At some level, they're all ways of composing a class with different
> restrictions, e.g. inheritance requires a single parent, interfaces must be
> abstract, traits don't interact with typing, etc. This RFC was an attempt
> to lift some (but not all) of these restrictions on interfaces; in that
> sense, it almost seems like too small of a step, and one which leaves the
> language in a confusing intermediate state.
>

I agree with this statement. Although I can't vote, I would be for this
feature. However, abstract classes would become orphans with the approval
and should be more clarification in the RFC what to do with them and the
whole inheritance design in the language, because this is significant
change.

Reply via email to