Note. The compilation ecosystem could override the namespace declarations into which a source file is implicitly put.
What the two languages do have firmly may be the concept of "translation models", which might be a https://medium.com/@linkdaddy/what-is-a-source-file-226b0fd56812