4.2 Scope and Anonymous Functions
Scope defines where variables are accessible within a program.
Anonymous functions provide a compact way to define small, one-time functions.
This section introduces variable scope, lambda expressions, and basic closures.