June 09, 2022 Re: Very hacky solution to class private members | ||||
---|---|---|---|---|
| ||||
Posted in reply to bauss | On Thursday, 9 June 2022 at 11:33:08 UTC, bauss wrote: > On Thursday, 9 June 2022 at 11:04:31 UTC, Dom Disc wrote: > > Within D alone, we would gain nearly nothing by an additional level. > > I don't know why you keep mentioning C++ and how D improves over C++. Because others did and C++ is the source why the design decision to make module the border for encapsulation was made. > I'm not a C++ programmer and I don't come from a C++ background. May be. But D does come from a C and C++ background. Also the last sentence of what you cited was explicitly NOT about C++ but about D only. |
Copyright © 1999-2021 by the D Language Foundation