Writings

Handling Error in TypeScript

Why throwing is a blind spot in a typed language, and how modeling failure as a value — with a Result type and discriminated unions — makes errors part of the contract.

May 28, 2026 · 2 min

Functional Programming in JavaScript

Not monads and category theory — just the handful of functional ideas that make everyday JavaScript easier to read, test, and trust.

May 12, 2026 · 2 min

Color theory for front-end developers

A practical take on color for the web — why perceptual models like OKLCH beat hex and HSL, how contrast actually works, and how to build a palette that scales.

Apr 30, 2026 · 2 min

© 2026 João Victor