fix(theory): align examples with Python across matched lessons#849
Merged
Conversation
Допорт потерянных при выравнивании блоков: конвенция кавычек (hello-world), \" как один символ (quotes), контр-пример со слешем (escape-characters), диаграмма цепочки преобразований (casting), randomNumber в списке примеров (call), блок про Math.min (variadic), диаграмма цепочки методов (method-chain), уточнение правил ||/&& про последний операнд (logical-expressions). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ate covers it (parity with Python) В Python теория encoding не вводит chr() — образец даёт само упражнение. JS-упражнение устроено идентично, абзац в теории избыточен. Co-Authored-By: Claude Fable 5 <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.
Сплошная сверка примеров Python ↔ JS по всем 63 matched-урокам (12 read-only агентов по модулям + ручная верификация каждой находки). Два коммита:
Допортированы потерянные при выравнивании блоки (8 уроков, только ru/README.md):
"it's JavaScript"\"— один символ, а не два»\\, фраза про управление расположением текста'123' ──Number()──→ 123 ──String()──→ '123'randomNumber(1, 10)в списке примеров вызововMath.min()с примерами.trim().toLowerCase().replace(...)Удалён избыточный блок (паритет с Python):
String.fromCharCode()+ код-блок из теории — образец использования даёт само упражнение (какprint(chr(...))в Python-эталоне).Отклонённые кандидаты (language gap, проверено): float-раздел 20-basic (покрыт 50-float), шаг среза (нет у slice()), isdigit-семейство, питоновские пакеты-неймспейсы, и др.
Верификация: description-lint, schema-validate зелёные; полный тест-ран — ноль падений; упражнения и тесты не тронуты.
🤖 Generated with Claude Code