Peg card: operations, flow & loops
You lit up: the fire portals (wormholes) and the loop ring
Remember
- Every operation is an expression: the Surgeon Operator takes values in, and a new value comes out.
ifstatements are wormholes with checkpoints, and truthy or falsy decides the path. The Surgeon's syringe coerces values behind your back with==, so use===.- A loop is a block that circles back. Something inside must change the condition, or it never ends.
Spot it in the blog app
Read it like a reviewer: does the code do what the comment says? 🤔
Where this fits
Operations, conditions and loops are how a program works on data: job two. In the Universal Pattern they belong inside small helper ships that do one job and return a value. A controller stuffed with nested ifs is the first sign of code that needs untangling.