So basically make a file like an object? :slightly...
# language-proposals
o
So basically make a file like an object? 🙂
d
There's a potential problem with accidental overrides in Java, same as with
internal
. For
internal
it is resolved with name mangling, which is a kinda compromise.
b
Swift has this and it's very useful for nested functions that have to be called from extension functions or private classes