-
Notifications
You must be signed in to change notification settings - Fork 543
Open
Description
Scopes of function parameters says
All function parameters are in the scope of the entire function body, [...]
Drop scopes directly above introduces the two - importantly distinct - outermost scopes:
- The entire function scope is the outer most scope.
- The function body block is contained within the scope of the entire function.
The avid reader might be confused about which of these two the language regarding function parameters is referring to:
- Does "the scope of the entire function body" refer to the outermost scope? Yet that paragraph says "the entire function", not "the entire function body".
- Alternatively, is "the scope of the entire function body" a reference to "The function body block"? Yet the second paragraph says "the function body block", not "function body".
The language wrt function parameters might be improved to ensure that readers understand which Drop Scope is being referred to.
Metadata
Metadata
Assignees
Labels
No labels