Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAGE ISSUE]: 'Class modifiers': A summary table would make this so much easier to understand #5733

Closed
Hixie opened this issue Apr 19, 2024 · 3 comments
Labels
from.page-issue Reported in a reader-filed concern

Comments

@Hixie
Copy link
Contributor

Hixie commented Apr 19, 2024

Page URL

https://dart.dev/language/class-modifiers/

Page source

https://github.com/dart-lang/site-www/tree/main/src/content/language/class-modifiers.md

Describe the problem

I often find myself trying to figure out what combination of class modifiers to use to get the effect I want. Right now, I often end up giving up and not bothering. It would be so useful if there was a table that summarised this page, with the all the possible combinations of class modifiers in the first column, and then columns saying for each one whether it allows mixing in, extending, implementing, etc.

@Hixie Hixie added the from.page-issue Reported in a reader-filed concern label Apr 19, 2024
@MaryaBelanger
Copy link
Contributor

@Hixie I'm not sure it solves the "all the possible combinations" question, but what about this page? Maybe adding more combinations?

@Hixie
Copy link
Contributor Author

Hixie commented Apr 19, 2024

Oh yeah that's exactly what I had in mind. Thanks!

@MaryaBelanger
Copy link
Contributor

You brought up a good point though; I opened an issue to clarify that we do have that resource from the landing page. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from.page-issue Reported in a reader-filed concern
Projects
None yet
Development

No branches or pull requests

2 participants