Using closure in function scope to make "real" private class members

monkyyy crazymonkyyy at gmail.com
Sat Jun 4 00:08:01 UTC 2022


On Friday, 3 June 2022 at 22:50:06 UTC, forkit wrote:
> The aim of class abstraction is to support encapsulation and 
> local reasoning. The best way to achieve this aim in D, is 
> one-class-per-file.
>
> It's nonsense to suggest that this is nonsense. It's just fact.

your code must be enterprise-grade 
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition


More information about the Digitalmars-d mailing list