how to make private class member private

Mike Parker aldacron at gmail.com
Tue Mar 13 09:52:06 UTC 2018


On Tuesday, 13 March 2018 at 09:14:26 UTC, psychoticRabbit wrote:

>
> That's make a little uncomfortable, given how long and complex 
> modules can easily become(and aleady are)

Is there a practical difference between a) a module that contains 
a class with 20 member functions all accessing private members of 
the class and b) a module that contains a class with two member 
functions and 18 free functions all accessing private members of 
the class? Does it really make a difference that some functions 
are on one side of a closing brace and some on the other?


More information about the Digitalmars-d-learn mailing list