> very basic enum unwrapping based on types, which is compile time checked
Sooo just accessing fields on a struct? I don't understand the distinction you are trying to make.
Sooo just accessing fields on a struct? I don't understand the distinction you are trying to make.
The complexity is inherent and you can either choose to make it implicit and play the losing game of ensuring it doesn't fail with tests or make it explicit from the outset.