hiding a class property behind a method

luka8088 luka8088 at owave.net
Sun Feb 23 05:04:35 PST 2014


On 23.2.2014. 13:51, luka8088 wrote:
> That is exactly what I wanted to point out! I reduced the example code
> to make that point more obvious:

Just one note. I know how this works currently in D and how it works in
C++. What I am asking here is not how it works but is this a good idea
as I just see it as a possible source of bugs without any benefit.



More information about the Digitalmars-d-learn mailing list