Skip to content

Фаза 1: обновление 10-basics (адаптация из Python)#798

Merged
fey merged 2 commits into
sync-with-pythonfrom
update-10-basics-from-python
May 27, 2026
Merged

Фаза 1: обновление 10-basics (адаптация из Python)#798
fey merged 2 commits into
sync-with-pythonfrom
update-10-basics-from-python

Conversation

@fey
Copy link
Copy Markdown
Contributor

@fey fey commented May 27, 2026

Что изменилось

Адаптация контента модуля 10-basics по образцу обновлённого exercises-python.

10-hello-world

  • README: полная перепись — объяснение кавычек, важности регистра, схема «код → движок → экран», ссылка на консоль браузера
  • EXERCISE: без изменений (уже был хорошим)
  • assets: добавлен hello-world.png (скопирован из Python)

20-comments

  • README: добавлена секция про BEGIN/END маркеры — объяснение, что это служебные комментарии, куда писать решение
  • EXERCISE: изменён на TODO-комментарий (вместо произвольной строки GoT)
  • index.js: обновлён под новое задание

40-instructions

  • README: добавлены разделы «Порядок имеет значение», «Альтернативная форма записи», «Зачем это нужно» (с примером сложного кода)

45-testing

  • README: переписан в более современном стиле — формат ошибок vitest (Expected/Received), секция «Моя ошибка или нет?»
  • EXERCISE: изменён (яблоки вместо ISBN-числа)
  • index.js + test.js: обновлены под новое задание

50-syntax-errors

  • README: добавлены структурированные секции, ASCII-диаграмма, раздел «Что делать при ошибке»
  • EXERCISE: изменён — теперь студент сначала пишет рабочую программу, затем намеренно ломает её и читает сообщение
  • index.js + test.js: обновлены

Часть серии: Фаза 1 из 12 по обновлению exercises-javascript.

🤖 Generated with Claude Code

…tructure

- 10-hello-world: comprehensive rewrite with quotes/case explanation, diagram, browser console reference
- 20-comments: add BEGIN/END section; update exercise to TODO comment pattern
- 40-instructions: add order/sequence sections and complex example
- 45-testing: rewrite to modern style with vitest error format; update exercise (print 10)
- 50-syntax-errors: add structured sections, diagram, 'what to do' guide; update exercise

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fey fey changed the base branch from main to sync-with-python May 27, 2026 14:15
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fey fey marked this pull request as ready for review May 27, 2026 15:11
@fey fey merged commit d8812b4 into sync-with-python May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant