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

Dukc ajieskola at gmail.com
Fri Nov 25 09:53:34 UTC 2022


On Wednesday, 23 November 2022 at 22:16:35 UTC, Guillaume Piolat 
wrote:
> On Tuesday, 22 November 2022 at 09:37:43 UTC, bauss wrote:
>>
>> If it's not implemented with .identifier then I will oppose it.
>>
>
> +1
> and it's a feature that was desperately needed anyway.

It's exactly the other way IMO -- whether the feature gets in at 
all, and the technical considerations of it are more important. 
As a programmer, whether the syntax will be `$identifier`, 
`.identifier`, `_.identifier`, `$.identifier`, `#identifier`, 
`#.identifier`, or something else is secondary. We can of course 
debate which of these looks the best, but disagreements of taste 
on questions like that should not block the DIP.

There is only so much free time to spend on writing and 
implementing DIPs so let's not increase the bar by vetoing on 
grounds like this.

You're demanding `.identifier` for a better reason - that is, 
avoiding reserving any new syntax. I don't agree with that 
either, but at least it's a technical argument as opposed to mere 
bikeshedding. So I'm not singling you two with what I wrote 
above, instead I'm aiming at this thread in general.


More information about the Digitalmars-d mailing list