DIP proposal: Enum parameters

Imperatorn johan_forsberg_86 at hotmail.com
Sat Sep 24 07:51:32 UTC 2022


On Friday, 23 September 2022 at 15:41:21 UTC, Quirin Schroll 
wrote:
> Read the draft here: 
> https://github.com/Bolpat/DIPs/blob/EnumParameters/DIPs/1NNN-QFS.md
>
> Feedback is welcome.

I'm a bit torn about static vs enum. I partly agree with prior 
speakers about enum getting too many meanings, but on the other 
hand, it's not really a problem imo.

Would it otherwise be called static parameters? Otherwise const 
of course, but that's already a used attribute.

I think the rationale behind it is solid and would simplify 
things in the long run (less to think about = better).


More information about the Digitalmars-d mailing list