feat(33-data-types): полный перенос теории из Python и адаптация под JS#813
Merged
Conversation
Расширена теория уроков «Типы данных» до объёма Python-оригинала с адаптацией под JavaScript: единый тип number вместо int/float, неизменяемость строк (тихое игнорирование вместо TypeError), слабая типизация + разделы про степень строгости и статическую/динамическую типизацию, явное приведение через Number()/String()/Boolean()/Math.trunc(). Задание 10-primitive выровнено под Python (вывод профиля). Урок tuples не переносится (питон-специфика), 45-undefined сохранён как JS-специфика. 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.
Что сделано
Полный перенос модуля 33-data-types (Типы данных) из
exercises-pythonвexercises-javascript(RU-локаль). Теорияru/README.mdдоведена до паритета с Python с адаптацией под JavaScript.Адаптация питон-специфики под JS
int/float— единый типnumber(явно объяснено). Сохранён блокtypeof.str[0] = 'x'в JS тихо игнорируется (в строгом режиме — ошибка), а неTypeError, как в Python.int()/str()/float()→Number()/String()/Boolean()/parseInt()/Math.trunc().Задания
10-primitive-data-types: тривиальный вывод-0.304заменён на питоновское задание (вывод профиля Name/Birth year/Age/Rating). Обновленыindex.js,test.js,EXERCISE.md.Структура
45-tuples(Python) — не переносится (чистая питон-специфика).45-undefined(JS) — сохранён как JS-специфика.Проверки
vitest— 5/5 проходят.biome check— exit 0.🤖 Generated with Claude Code