<div dir="ltr">I think the it would help a great deal to have an access level modifier that is really private and visible only inside the class itself. Right now, the only way to hide implementation details for a class is to hide the class code in a separate file, which is very inconvenient for several reasons:<div><br></div><div>1) the meaning of the code changes depending on which file the class is in. It&#39;s very easy to accidentally expose class internal details and then call class elements that are meant to be used only inside the class. Having a keyword for class internals will allow the compiler to ensure that only the public API for the class is used from the outside world. The user can check types on his own, but it&#39;s better that the compiler does it automatically. Similarly, the user can check that only the proper APIs are called, but it&#39;s better that the compiler does it automatically.</div><div><br></div><div>2) accessibility by file structure may cause some really short files. </div><div><br></div><div>3) It&#39;s impossible to group related classes in one file but still hide implementation details inside each class</div><div><br></div><div>I think that it the best solution is to make private keyword do what it states -- keep the class element private to the class. But if it&#39;s really important to have a separate keyword for backward compatibility, it would be the next best thing.</div><div><br></div><div>--</div><div>Ilya Belenkiy</div></div>