Enums with Inline Subclass

Bastiaan Veelo Bastiaan at Veelo.net
Thu Nov 14 09:31:13 UTC 2019

On Wednesday, 13 November 2019 at 20:46:25 UTC, mark_mcs wrote:
> I spend most of my time in java land but try to sneak in some D 
> code whenever possible. One pattern that comes in handy is to 
> use Java enums as states in a finite state machine (good for 
> XML parsers).

You might be interested in 


More information about the Digitalmars-d mailing list