linkedin.com
One rule I always follow while modelling my data is: conflicting states must be irrepresentable.
If your types allow invalid combinations, you're pushing correctness to the developer at runtime… ...
One rule I always follow while modelling my data is: conflicting states must be irrepresentable.
If your types allow invalid combinations, you're pushing correctness to the developer at runtime. Inst...