Discussion Thread: DIP 1044--Enum Type Inference--Community Review Round 1

Timon Gehr timon.gehr at gmx.ch
Sat Nov 19 01:46:48 UTC 2022


On 19.11.22 02:04, Ki Rill wrote:
> On Friday, 18 November 2022 at 15:37:31 UTC, Mike Parker wrote:
>> ## Discussion Thread
>> [...]
> 
> I think it's not worth adding this to D as well. I have no problem 
> typing out the full name of an enum, and if I or anyone else does face 
> such a difficulty, why not use a short alias?
> 
> ```
> with(a, b, c, d):
> ```
> That's a good idea.

I think this is a little thing that most competing languages have and 
people are confused that D does not have it.


More information about the Digitalmars-d mailing list