feat(30-variables): полный перенос теории из Python и адаптация под JS - #811
Merged
Conversation
Расширена теория всех 8 уроков модуля «Переменные» до объёма Python-оригинала с адаптацией примеров и формулировок под JavaScript (const/let, console.log, lowerCamelCase, автоприведение числа к строке в операторе +, настоящий const вместо соглашения). Задание 23-constants приведено к UPPER_SNAKE_CASE (MAX_LOGIN_ATTEMPTS). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что сделано
Полный перенос модуля 30-variables (Переменные) из курса
exercises-pythonвexercises-javascript(RU-локаль).Теория
ru/README.mdвсех 8 уроков была урезана (20–50% от Python-оригинала) — теперь доведена до полного паритета с адаптацией под JavaScript:Адаптация питон-специфики под JS
print()→console.log(), присваивание черезconst/let,snake_case→lowerCamelCase.str()» — автоприведение числа к строке оператором+иString()как явная альтернатива.snake_caseуказан как стандарт других языков (Python), стандарт JS —lowerCamelCase.constкак настоящая языковая конструкция (в отличие от соглашения в Python) +UPPER_SNAKE_CASEдля глобальных констант.Задания
Все задания сохранены (педагогически совпадают с Python). В
23-constantsконстанта переименована вMAX_LOGIN_ATTEMPTSдля соответствия теории проUPPER_SNAKE_CASE.Проверки
vitest— 9/9 уроков проходят тесты.biome check— код возврата 0.🤖 Generated with Claude Code