- Notifications
You must be signed in to change notification settings - Fork1k
Update scala-features.md#3041
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
som-snytt commentedAug 10, 2024
vals and vars are both called variables in an informal context. Otherwise, "mutable variable" would be redundant. Other distinctions I would prefer be universally honored include "definition" vs "declaration", and "its" vs "it's". Also a constant is a constant only if it is a mathematically precise value that never changes. |
SethTisue commentedOct 26, 2024
I don't know Russian but I agree that the |
The sentence "Например, переменные создаются лаконично, а их типы понятны:" does not correspond to the code example, there are no "var" but "val" instead.