3 ms·
> But what it does illustrate is something I've meant to write a bout for a while: having this kind of convenience let you be lazy about design. How does havin
by Jtsummers 6y ago
> But what it does illustrate is something I've meant to write a bout for a while: having this kind of convenience let you be lazy about design.
How does having this in the language permit laziness in design? You still have to think about the properties in order to describe them, whether it's going into a type system or a test suite.
Does the laziness occur once the property is placed into the type system because you can now rely on the compiler to assist you? Wouldn't the same argument apply to having a test suite that detected similar failures to maintain these properties?