-
-
Notifications
You must be signed in to change notification settings - Fork 36
Consider a more descriptive keyword instead of "let" #289
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
Originally posted by @mihnita in #287 (comment)
|
I think Regardless of the name, do you think there's value in aligning the name with the keyword, e.g. locals defined with the |
One reason I rather like |
To summarize, I prefer calling these things "named expressions", and using either |
Totally fine with |
It looks like there's enough support for continuing to use |
let
is clear enough, but I think we have an opportunity to use a keyword that directly relates to the name that we choose for these let bindings (#248). This would be self-explanatory and easier to learn and search for. For example:Originally posted by @stasm in #287 (comment)
The text was updated successfully, but these errors were encountered: