Composition visibility
I suppose, internal visibility is rarely used in projects because it’s wide and packages are shuffled often. But what could be useful is a visibility scope to be seen only between children and parents or composition variables. Like
class Foo() {
internal_private fun invisibleOutside() {}
}
class Bar(foo: Foo) {
init {
foo.invisibleOutside()
}
}
And it’s good to be available in interfaces as well.
1 post - 1 participant
<a...