3 weeks ago
7 lines536 B
Exercises: lesson 3
- Break the example on purpose: delete a bracket or misspell a name. Read the error message. Which line does it point to?
- Find one thing in
commands.shyou could name better and rename it everywhere. - Add a check that prints a warning when a result looks wrong (negative, empty, too big).
- Look up one function or command the example uses in the official documentation. Note one option you didn't know.
- Time yourself: rewrite the example from memory in 10 minutes, then diff it against the original.