Phango - questions

Sean Kelly sean at f4.ca
Mon Nov 19 16:19:39 PST 2007


Robert Fraser wrote:
> 
> Why do private members need to be differentiated typographically?

It can increase the clarity of member functions, as a variable prefix 
avoids the need to place constraints on function parameter names.  Also, 
I find it useful for operations on member data vs. local data to be 
obvious by inspection.  I feel that doing so reduces the chance of bugs 
and improves readability for maintenance.


Sean



More information about the Digitalmars-d mailing list