import concerns (was Re: Historical language survey)

David Medlock noone at nowhere.com
Sat Jul 8 07:12:31 PDT 2006


Walter Bright wrote:
> kris wrote:
> 
>> So, in D, what does private actually mean? The verbose version if you 
>> wouldn't mind, with all known corner-cases noted?
>>
>> I think the full explanation would help a lot, since it's often easier 
>> to remember the things one should not do, rather than those one should.
> 
> 
> It means the same thing as in C++. It should give an error if you try to 
> access a private member in another module - but the symbol is still found.

Aside from the 'its like C++' argument, why make it visible at all?

Making these things spill over is an unnecessary chore for development, imo.

When I tell the man at Pikes Nursery I want some grass, its a lot 
different than when I say it to the undercover cop on the street corner.

-DavidM



More information about the Digitalmars-d mailing list