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

Add Scoping Beginner Summary to Manual #54500

Merged
merged 3 commits into from
May 16, 2024

Conversation

nathanrboyer
Copy link
Contributor

The Scope of Variables section of the manual is good and thorough but overwhelming to beginners. This PR is motivated by several questions on discourse (1, 2, 3) where scoping behavior was an immediate confusion and turn off to using Julia.

@LilithHafner LilithHafner added the domain:docs This change adds or pertains to documentation label May 16, 2024
@LilithHafner
Copy link
Member

Thank you for improving the docs to help folks with this unfortunate sharp edge in the language design!

@LilithHafner LilithHafner merged commit 1afb580 into JuliaLang:master May 16, 2024
4 of 8 checks passed
LilithHafner pushed a commit that referenced this pull request May 17, 2024
#54500 is not rendering correctly on the website. Hopefully this fixes it.
ararslan pushed a commit that referenced this pull request Jun 14, 2024
Continuation of #54500.
I realized the erroring line is one lower.
lazarusA pushed a commit to lazarusA/julia that referenced this pull request Jul 12, 2024
The Scope of Variables section of the manual is good and thorough but
overwhelming to beginners. This PR is motivated by several questions on
discourse
([1](https://discourse.julialang.org/t/best-solution-to-julias-soft-scope-problem/70199/14),
[2](https://discourse.julialang.org/t/global-variable-issue/108288),
[3](https://discourse.julialang.org/t/why-does-the-soft-scope-warning-not-appear-in-a-nested-loop/72646))
where scoping behavior was an immediate confusion and turn off to using
Julia.
lazarusA pushed a commit to lazarusA/julia that referenced this pull request Jul 12, 2024
JuliaLang#54500 is not rendering correctly on the website. Hopefully this fixes it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants