(no title)
wh33zle | 1 year ago
An enum often suffices to express the different combinations.
Of course, from a pattern perspective, that is "not extensible" but it often ends up being easier to maintain and in Rust, often compiles down to more efficient code.
No comments yet.