Re:Applying “make invalid states unrepresentable”
by nemetroid on Monday October 05, 2020 @09:39AM
(#24687660)
I feel that this advice is almost opposite to that given in the article. By making all fields optional, your data model no longer helps in making invalid states unrepresentable.
[ Parent
| on HN ]