-
Notifications
You must be signed in to change notification settings - Fork 152
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
Add a forward reference about extensions #128
Conversation
"Extension" is mentioned here for the first time. Therefore, it is appropriate to attach a link to it.
Thanks for looking at this, @bytedriver! Looking through the places called out above:
It might be worth writing up when we do and don't include forward references in |
Refine the description.
Thank you for reviewing it again @amartini51 |
This change follows the existing precedent of forward references in the book. Looking at some selected examples:
So there are plenty of places where we say "for information about topic, see Chapter" even when the topic and chapter are the same. |
This PR inserts a sentence that explains an extra link about
extension
in the section Preventing Overrides of the chapter "Inheritance"."Extension" is mentioned here for the first time. Therefore, it is appropriate to attach a link to it.
To be honest, it is not the first time. You might already find some examples in the Swift Tour, and the chapter "The Basics".
Nonetheless, this time it is mentioned without the link in advance of the chapter "Extensions".
As such, it would be better to have a link.