functional
SKILL.md
Functional Patterns
Core Principles
- No data mutation - immutable structures only
- Pure functions wherever possible
- Composition over inheritance
- No comments - code should be self-documenting
- Array methods over loops
- Options objects over positional parameters
Why Immutability Matters
Immutable data is the foundation of functional programming. Understanding WHY helps you embrace it: