On Wednesday, 5 September 2018 at 12:41:05 UTC, Andre Pany wrote:
On Wednesday, 5 September 2018 at 12:05:59 UTC, rikki
cattermole wrote:
Indeed. scope enum would make much more sense.
scope enum sounds a lot better for me than static enum or even
__local. The __ words looks a little bit like compiler magic as
the __ words are reserved for the compiler.
Kind regards
Andre
To be honest, using enum as "compile-time variable" is magic
enough. Enum should be reserved for enumerations. But I guess
it's one of those things that is too late to change.