Object Oriented Programming with D Language. Private access specifier. Summary.

Ary Borenszweig ary at esperanto.org.ar
Thu Aug 21 18:15:46 PDT 2008


Jussi Jumppanen a écrit :
> Fawzi Mohamed Wrote:
> 
>> Imagine having two or three classes interacting in 
>> something that need access (for efficiency reasons) 
>> to internal implementation detail
> 
> C# achieves this using the internal qualifier: 
> 
>   http://msdn.microsoft.com/en-us/library/ba0a1yw2(VS.80).aspx
> 
> which allows it to retain the 'more standard' meaning for
> the private qualifier.

Actually, "internal" is C# is a lot more than D's "private": the entire 
assembly may see the internal symbol. That's quite not private, for me. :-P



More information about the Digitalmars-d mailing list