Tech
Learning Elixir: Alias, Import, Require and Use
I like to think of the four tools in this article — alias , import , require , and use — as four different ways to reach into another drawer of the toolbox. In the previous articles I organized my functions into drawers and stuck notes on them. Now I need to use tools from other drawers, and each of these four keywords reaches across in its own way. alias is like writing a short nickname on a drawer label so I can point to it quickly. import is like laying the tools I need out on my own...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to