Is defining get/set methods for every field overkill?

thebluepandabear therealbluepandabear at protonmail.com
Tue Nov 22 02:03:58 UTC 2022


On Tuesday, 22 November 2022 at 00:46:34 UTC, Siarhei Siamashka 
wrote:
> On Monday, 21 November 2022 at 23:41:22 UTC, thebluepandabear 
> wrote:
>> But why give a C++ code example? 🤨
>
> It's a D code example and it even can't be compiled by a C++ 
> compiler. Just add the missing main function:

My bad.


More information about the Digitalmars-d-learn mailing list