For anyone designing a programming language, enforce namespace to includes/imports! and if possible, don't allow top level side effects.
it's much easier to reason about then, for example:
That way it's much easierI do not disagree, but I use IntelliJ for work and it shows clearly where some reference is imported from and let you navigate to it with a shortcut. VSCode does similar things with plugins and LSP, just much worse. I cannot work in VSCode because navigating code is so slow. Is this suggestion only useful when you don’t have such tools? It seems impossible to me that people can live without them, at least in a professional setting.