Skip to content

Avoid saying "return" when we don't mean return - #3314

Open
fw-immunant wants to merge 1 commit into
google:mainfrom
fw-immunant:fw/return-value
Open

fw-immunant wants to merge 1 commit into
google:mainfrom
fw-immunant:fw/return-value

Conversation

@fw-immunant

Copy link
Copy Markdown
Collaborator

Functions return, but expressions other than the return expression do not; loops also do not return when they stop looping. This is a bit pedantic but it's good to be precise when teaching.

functions return, but expressions other than the `return` expression do not

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant