News for hackers. Stuff that matters.
Re:Parse, Don't Validate and Type-Driven Design in Rust by AxiomLab on Sunday February 22, 2026 @02:52AM (#47109168)
This exact philosophy is why I started treating UI design systems like compilers.

Instead of validating visual outputs after the fact (like linting CSS or manual design reviews), you parse the constraints upfront. If a layout component is strictly typed to only accept discrete grid multiples, an arbitrary 13px margin becomes a compile error, not a subjective design debate. It forces determinism.

Re:Parse, Don't Validate and Type-Driven Design in Rust by Garlef on Sunday February 22, 2026 @06:46AM (#47110256)
curious: what kind of tooling would you use here?