You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Writing a mixin involves deciding whether it is to be "incorporated" vs. "annotated". The mixin generally cannot be interchanged between these two use cases without errors.
Describe the solution you'd like
Add keyword annotation to indicate that a mixin class is explicitly an annotation, vs explicitly for incorporation (mixin).
Describe alternatives you've considered
The status quo is the alternative that has issues, so we have experimented with it for a few years, and find it lacking.
We also discussed automatically determining whether a mixin is "safe" to use as an annotation ("over") vs. incorporation ("under"), and producing compile time errors when one is used incorrectly.
Splitting the category seems like the most obvious and simple solution, including "simple to reason about" and "simple to understand for the writer" and "simple to understand for the reader".
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Writing a mixin involves deciding whether it is to be "incorporated" vs. "annotated". The mixin generally cannot be interchanged between these two use cases without errors.
Describe the solution you'd like
Add keyword
annotation
to indicate that a mixin class is explicitly an annotation, vs explicitly for incorporation (mixin
).Describe alternatives you've considered
The status quo is the alternative that has issues, so we have experimented with it for a few years, and find it lacking.
We also discussed automatically determining whether a mixin is "safe" to use as an annotation ("over") vs. incorporation ("under"), and producing compile time errors when one is used incorrectly.
Splitting the category seems like the most obvious and simple solution, including "simple to reason about" and "simple to understand for the writer" and "simple to understand for the reader".
Additional context
n/a
The text was updated successfully, but these errors were encountered: