Pitch: Fully qualified name syntax

ModuleName::ClassName

While this looks nice, I don't think solving this problem is worth introducing a new scoping operator in Swift. Things are much simpler as they are now with a dot (.) everywhere.


The problem at hand only requires a way to refer to a module unambiguously. Any variation of this would work fine:

#.ModuleName.ClassName

where # acts as some sort of language root to which modules belong to.

8 Likes