Skip to content
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

Translation of “03-03 Vars” #48

Merged
merged 2 commits into from
Mar 2, 2017
Merged

Translation of “03-03 Vars” #48

merged 2 commits into from
Mar 2, 2017

Conversation

roman01la
Copy link
Member

Драфт перевода раздела ”03-03 Vars” #8

them in most other programming languages. The closest analogy to variables are the
variables you define in algebra; when you say `x = 6` in mathematics, you are saying
that you want the symbol `x` to stand for the number six.
ClojureScript — це функціональна мова, що фокусується на незмінності даних. Через це в ній немає поняття змінної, яке ви знаєте з багатьох інших мов програмування. Найбільш близькою аналогією до варів будуть змінні в алгебрі; коли в математиці ми кажемо `x = 6`, це означає, що символу `x` відповідає число `6`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Через це,(!) в ній...

explain later. If you use `def` in a function call, the var will be defined at
the namespace level, but we do not recommend this - instead, you should use `let` to
define variables within a function.
Вари завжди знаходяться на вищому рівні у просторі імені (про які ми поговоримо пізніше). Якщо використати `def` у функції, вар всеодно буде створений на рівні простору імен. Ми не рекомендуємо це робити. Якщо вам потрібен локальний вар у функції, використовуйте форму `let`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вари завжди знаходяться на вищому рівні у просторі імен.
Все одно

@denysdovhan denysdovhan changed the title 03 03 vars Translation of “03-03 Vars” Feb 20, 2017
@denysdovhan denysdovhan mentioned this pull request Feb 21, 2017
36 tasks
@roman01la roman01la added done and removed review labels Feb 21, 2017
@denysdovhan denysdovhan merged commit 26e143a into LambdaBooks:master Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants