Tag: Functional JavaScript
All the articles with the tag "Functional JavaScript".
Parse, Don't Validate: Making Bad Input Impossible in TypeScript
Updated: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.
Six Functional Patterns to Stop Writing Java in JavaScript
Updated:Six concrete moves that turn functional thinking into TypeScript you can ship on Monday — pipelines over loops, expressions over statements, immutable updates, higher-order functions, composition, and closures over classes — refactored on a real orders view.
Your Functions Aren't Functions: Why JavaScript Punishes Your Java Habits
Updated:The word 'function' means two different things, and the one you learned in Java is the one TypeScript keeps punishing. A pragmatic case for thinking in equations, not recipes.