News for hackers. Stuff that matters.
Re:C++ Patterns: The Badge by skocznymroczny on Wednesday June 12, 2019 @03:06AM (#20162408)
In D, you can access private members of a class within a single module. I like it, because it allows to move methods outside of the class, but doesn't require explicit friend declarations. And you still have the data protection because other modules can't access the private fields.
Re:C++ Patterns: The Badge by nikbackm on Wednesday June 12, 2019 @03:26AM (#20162484)
Maybe C++ could add this feature at some point now that it too will get modules.