In my view, you’re moving the potential for failure to a different place (the constructor), rather than changing some fundamental property or introducing new complexity.
Is it handling the construction of these types you find complicated? And is it simply not worth the guarantees?
In my view, you’re moving the potential for failure to a different place (the constructor), rather than changing some fundamental property or introducing new complexity.
Is it handling the construction of these types you find complicated? And is it simply not worth the guarantees?