Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

I’m just saying enforce invariants at construction time / type-designing instead of with the validity checks


This wasn't that kind of validation - it was "is this token allowed to do this thing?" Like "validate your parking" kind of scenario.

(And yes, it should probably have been "CheckAuthorisation")


naming things is so hard.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: