logoalt Hacker News

0x3fyesterday at 11:30 PM0 repliesview on HN

Normally I would put as many invariants in the types as possible, then tests cover the rest. I'm curious how you do this/what you use it for though. Would be cool if you had any examples.