Tag: Parsing
All the articles with the tag "Parsing".
- Featured
Parse, Don't Validate: Making Bad Input Impossible in TypeScript
Stop checking the same field in fifteen places. Parse untrusted input once at the boundary into a type that can't be invalid — validation forgets what it learned, parsing keeps the proof in the type — and every downstream check disappears.