Re:The 4-chan Go programmer
by binary132 on Wednesday August 28, 2024 @10:24PM
(#41386644)
I’m just saying enforce invariants at construction time / type-designing instead of with the validity checks
[ Parent
| on HN ]
Re:The 4-chan Go programmer
by zimpenfish on Thursday August 29, 2024 @04:07AM
(#41388456)
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")