WillowScript (.ws) is a proposed, not-yet-implemented language. Examples and library integrations here are illustrative design exercises, not verified runnable programs.
Import only the public APIs you use
A script becomes easier to reason about when every function has a clear job. Read its name as an action, the parameter list as the information it receives, and the type after -> as the kind of result it promises. The body explains how that promise is fulfilled.
- 1→
Import only the public APIs you use — Discover and trace
Make a prediction before touching the example.
Open practice - 2→
Import only the public APIs you use — Build the smallest useful slice
Change one useful behavior while keeping the contract small.
Open practice - 3→
Import only the public APIs you use — Change one requirement
Translate one new mod requirement into a deliberate change.
Open practice - 4→
Import only the public APIs you use — Boundary detective
Find a case the simplest success path does not cover.
Open practice - 5→
Import only the public APIs you use — Flash-check repair
Use a plausible mistake to show that you understand the mechanism.
Open practice - 6→
Import only the public APIs you use — Connect the previous skills
Connect this idea with a previously learned responsibility.
Open practice - 7→
Import only the public APIs you use — Review and demonstrate
Collect a useful learning record without pretending the code was executed.
Open practice - 8→
Module project — Shared pricing rules
Turn the section work into one reviewable mod feature.
Open practice
