top | item 46262175

(no title)

qezz | 2 months ago

> How about you never write the wrong state in the first place ?

Indeed, and tagged unions (enums in Rust) explicitly allow you to avoid creating invalid state.

discuss

order

No comments yet.