by abrgr · 3y ago · 0 comments
The next step is to encode your transition logic in the From impls between the enum structs and you've got yourself a first-rate state machine.
Pascal and Delphi have always had variant records as part of the language. Are these not "mainstream" enough, especially Delphi?