News for hackers. Stuff that matters.
Re:Carbon Language: An experimental successor to C++ by int_19h on Monday July 25, 2022 @02:35PM (#32228903)
In C#, nested classes are effectively friends with their outer class, and it's used quite often in practice.

On the other end of expressivity, in Eiffel, every class member is declared as visible to specific other classes; if you want something to be public, you say that it's visible to ANY, which is the universal base class similar to e.g. Object in Java.

There are no comments on this comment yet.