Instead of a NamedTuple, most packages should be outputting result structs, which is essentially the same thing but allows a few other nice dispatches. But I would prefer the interface be on functions, i.e. value(res)
instead of on properties, i.e. res.value
.
2 Likes