Skip to content

Update scala-features.md #3041

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Update scala-features.md #3041

wants to merge 1 commit into from

Conversation

stensh1
Copy link

@stensh1 stensh1 commented Jul 9, 2024

The sentence "Например, переменные создаются лаконично, а их типы понятны:" does not correspond to the code example, there are no "var" but "val" instead.

@som-snytt
Copy link
Contributor

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
Copy link
Member

I don't know Russian but I agree that the val should stay a val.

@SethTisue SethTisue marked this pull request as draft October 26, 2024 19:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants