3 ms·
Static typing can replace input validation though - if you make illegal states unrepresentable. That way you bake validation into your types e.g. using refined
by solidninja 3y ago
Static typing can replace input validation though - if you make illegal states unrepresentable. That way you bake validation into your types e.g. using refined types: https://blog.rockthejvm.com/refined-types/ https://blog.rockthejvm.com/refined-types/ in Scala