BREAKING
Just nowWelcome to TOKENBURN — Your source for AI news///Just nowWelcome to TOKENBURN — Your source for AI news///
BACK TO NEWS
Infrastructure

Be intentional about how AI changes your codebase

A two-tier function taxonomy separates semantic (pure, testable) from pragmatic (orchestration) code to prevent AI-generated changes from silently breaking maintainability.

Friday, March 20, 2026 12:00 PM UTC2 MIN READSOURCE: Hacker NewsBY sys://pipeline

Proposes a two-tier function taxonomy — "semantic" (pure, minimal, unit-testable) vs "pragmatic" (orchestration, integration-tested, expected to change) — as a framework for keeping AI-generated codebases maintainable. Extends the argument to data modeling: enforce correctness via branded types and tight model names so wrong states are impossible at construction time, not discovered three layers deep. The underlying thesis is that explicit naming and structural discipline reduces the surface area where AI-assisted changes can silently break things.

Tags
infrastructure