Using vs import? Would switching names make more sense?

Hi,
I know this seems too late and people already used to use both “using” and “import” as they have already defined, but I’m just wondering if it does make more sense to rename “using” as “import”, and vice versa? The reason for this is simply because “using” is mainly related to the “exported” list of functions inside the modules (so, import is opposite to export). Similarly, “using” something it usually means you can use it as a whole, and not only the exported names. Thanks.

I live in Sweden. If I want to make guacamole I just use avocados, because they are exported from Mexico. If I want to make Inca Cola and rum, I need to import the Inca Cola myself.

https://github.com/JuliaLang/julia/issues/39235

2 Likes