Implementing typestate

ûrbûck via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 29 17:59:21 PDT 2015


On Tuesday, 15 September 2015 at 17:45:45 UTC, Freddy wrote:
> Would it be worth implementing some kind of typestate into the 
> language?
> By typestate I mean a modifiable enum.
>
> [...]

Article about this in C# and F#:

http://enterprisecraftsmanship.com/2015/09/28/c-and-f-approaches-to-illegal-states/


More information about the Digitalmars-d mailing list