More Intuitive Syntax for Manifest (enum) Constants

Walter Bright newshound2 at digitalmars.com
Mon Nov 24 20:30:19 UTC 2025


On 11/24/2025 7:46 AM, Kagamin wrote:
> Most manifest constants are indeed enums. The poster you reply to is known to 
> have outlandish reasoning. In C# enums are strongly typed, which greatly hurts 
> interoperability, as a result interoperable enums are better declared as integer 
> or string constants.

Yes, making them strongly typed is more of a nuisance than a benefit.


More information about the Digitalmars-d mailing list