Steven's Knowledge

Logic & Control

Control flow, error handling, and concurrency — the moving parts of program execution

Logic & Control

How a program decides what to do next, what to do when something goes wrong, and how to coordinate work that happens at the same time.

Topics

  • Control Flow — Conditionals, loops, early returns, and table-driven alternatives.
  • Error Handling — Defensive boundaries, assertions, exceptions, and recovery strategy.
  • Concurrency — Principles for writing correct concurrent code.

On this page