-
Notifications
You must be signed in to change notification settings - Fork 28
Design Guidelines #9
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
Comments
@hborla do you have any ideas on this? |
@mattmassicotte I agree with you that this doesn't belong in Common Compiler Errors. Perhaps we need another section on API design. I've been thinking about expanding the Swift API Design Guidelines with concurrency guidelines, but that probably needs more explanation than what typically goes in that guide. I think it makes sense to add a section specifically about API changes and the implications in the migration guide, and this topic would fit into there. Thoughts? |
Anedotally, I see many people looking for help with design. This is a pretty natural extension of the common errors section too. That helps you understand what's up. But, if you need/want to make deeper changes, having some recommendations to look at could be really useful. I have not read the Swift API Design Guidelines. I agree that adding something to that guide could make sense. But, I also think you are right that these kinds of issues could be more involved. Plus, it would spread some very related information around. "API Design"? "Design Guidelines"? |
I'm co-opting this issue to represent the ideas that might go into #46. Some things off the top of my head:
Some of this stuff does appear in other areas already, but might not be terrible to re-iterate. |
|
I split this up becuase the migratio guidance document was getting quite large. However, I still do think there are some useful tips to include:
|
I'm not certain if this belongs in "Common Errors", or more something else. But I'd really like to expand on the trade-offs of fine- vs coarse-grained isolation.
For example:
vs
vs
Especially to tie in the use of
nonisolated
for selectively opting-out of whatever domain your type is part of.The text was updated successfully, but these errors were encountered: