enums and version/static if/"inheritance"

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Wed Jul 31 19:09:49 UTC 2024


On 01/08/2024 7:08 AM, Walter Bright wrote:
> On 7/31/2024 10:51 AM, Richard (Rikki) Andrew Cattermole wrote:
>> Too many people try it, which shows that it is clearly good language 
>> design.
> 
> People try all kinds of things in programming, eventually they evolve 
> towards Best Practices.

Luckily we have Dscanner, so if it turns out a pattern gets too complex 
and therefore is not best practice, we can throw a warning at it without 
breaking code!

Which severely diminishes any possible objections.


More information about the Digitalmars-d mailing list