News for hackers. Stuff that matters.
Re:The 4-chan Go programmer by agency on Wednesday August 28, 2024 @04:33PM (#41384025)
imagine enforcing invariants as part of the design of a software system
Re:The 4-chan Go programmer by nickpeterson on Wednesday August 28, 2024 @05:33PM (#41384654)
The nerve, taking good jobs away from young qa testers. Wait till the IT Union hears of this!
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
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")

Re:The 4-chan Go programmer by binary132 on Friday August 30, 2024 @10:04AM (#41400859)
naming things is so hard.