Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
binary132
on Aug 29, 2024
|
parent
|
context
|
favorite
| on:
The 4-chan Go programmer
I’m just saying enforce invariants at construction time / type-designing instead of with the validity checks
zimpenfish
on Aug 29, 2024
[–]
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")
binary132
on Aug 30, 2024
|
parent
[–]
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: