Enum literals, good? bad? what do you think?

Walter Bright newshound2 at digitalmars.com
Wed Jul 21 21:02:53 UTC 2021

On 7/21/2021 6:36 AM, Steven Schveighoffer wrote:
> I enjoy having this type of shortcut in Swift, and wish D had something similar.

Your wish has been heard and duly granted. The internet delivers once again!

See Patrick Schluter and Mike Parker's solutions upthread.

More information about the Digitalmars-d mailing list