digitalmars.D - encapsulation
- arun s (1/1) Mar 13 2007 how is the concept of data hiding and encapsulation implemented in D ???...
- Gregor Richards (24/25) Mar 13 2007 In real language:
how is the concept of data hiding and encapsulation implemented in D ?????
Mar 13 2007
arun s wrote:how is the concept of data hiding and encapsulation implemented in D ?????In real language: "private" applies to inter-module use of data. That is, if something is "private" within module foo, nothing /outside/ of module foo will be able to access it. However, anything /inside/ of module foo can access it. In your language: when ur in a module the stuf thats private isnt private in that module its only private in other stuff liek wow its gr8 if u know how to use it right ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? ????? lol - Gregor Richards
Mar 13 2007