|
|
|
|
|
by hmry
650 days ago
|
|
It's because then you could have name collisions between variables and modules. E.g. it's ambigious whether io.Error is in a module called io, or a field of a variable called io. Which means you can no longer use fully qualified names regardless of context. |
|
How about don't shadow module names with variables if you want to use it? It works amazingly well for a bunch of other languages.