On Sunday, 13 May 2018 at 17:19:26 UTC, rumbu wrote:
On Sunday, 13 May 2018 at 15:13:59 UTC, meppl wrote:

Also, someone may say: I can see what happens in one and the same file. If there are two classes/structs in one file, they are "friends" and I dont need the "friend"-keyword anymore.
Thats an argument, too.

So, when you have 1000 classes, you just create 1000 files just to "unfriend" them :)

If you have 1000 classes in a single module, you have bigger problems than encapsulation. :p

--
  Simen

Reply via email to