docs(course): fix review findings in modules 00–05
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
1d0b8c3a5c
commit
ab8abaaa77
+3
-3
@@ -220,7 +220,7 @@ A green test does not prove your code is right, and a red test never means you a
|
||||
|
||||
### The purity rules
|
||||
|
||||
> **The purity audit.** A test in every track (`purity.test.js`, `PurityTest`, `Purity`) scans your `src/` files (comments are ignored) and fails if it finds any of these:
|
||||
> **The purity audit.** A test in every track (JS `test/purity.test.js`, Scala `PuritySuite` in `test/Purity.test.scala`, F# `tests/Purity.fs`) scans your `src/` files (comments are ignored) and fails if it finds any of these:
|
||||
>
|
||||
> | Track | Banned outside the runtime files |
|
||||
> |---|---|
|
||||
@@ -246,7 +246,7 @@ Each module builds on the previous ones. If you get stuck, work through this lis
|
||||
|
||||
1. Re-read the doc comment in the stub and the "Concepts" section of the module.
|
||||
2. Open the failing fixture case and work it out on paper.
|
||||
3. Open the module's **Hints**. Every exercise has three tiers: a *nudge*, a *stronger hint*, and a *near-solution* skeleton with holes. Open them one at a time.
|
||||
3. Open the module's **Hints**. From Module 1 on, every coding exercise has three tiers: a *nudge*, a *stronger hint*, and a *near-solution* skeleton with holes. Open them one at a time. (Module 0's setup exercises have only the hints they need.)
|
||||
4. Ask your mentor (human or AI), explaining what you tried.
|
||||
5. Only then: **take the checkpoint.** Copy that module's files from `solutions/` into `src/` (for example `cp js/solutions/rules.js js/src/rules.js`) and continue with the next module. Because tests are organised per module, all earlier tests stay green.
|
||||
|
||||
@@ -269,7 +269,7 @@ Every module has the same parts, in this order:
|
||||
2. **Learning objectives**: what you should be able to do afterwards.
|
||||
3. **Concepts**: the ideas, with Scala bridges (blockquotes starting with **From Scala:**) and code in all three languages.
|
||||
4. **Exercises**: the functions to write, with signatures in three languages, the tests and fixtures that check them, and pitfalls.
|
||||
5. **Hints**: folded away; open them one tier at a time.
|
||||
5. **Hints**: folded away; from Module 1 on, every coding exercise has a nudge, a stronger hint and a near-solution. Open them one tier at a time.
|
||||
6. **Check your understanding**: questions you should be able to answer before moving on. Several ask you to predict an output or to say what would break if something changed.
|
||||
7. **In production**: how real libraries and frameworks solve the same problem.
|
||||
8. **Further reading**: links to the sources of the ideas.
|
||||
|
||||
Reference in New Issue
Block a user