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

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Jun 8 11:02:45 UTC 2022


On Wednesday, 8 June 2022 at 10:30:59 UTC, Ola Fosheim Grøstad 
wrote:
> They would also ask what "private class" means. If you are 
> gonna do it, do at least propose a proper keyword for it: 
> local, hidden, internal…

Btw, the original OOP syntax from Simula is **HIDDEN** and 
**PROTECTED**. So there is some precedent for this.



More information about the Digitalmars-d mailing list