Last time we were talking about functions I have mentioned that named functions are living inside modules.
Modules provide the namespace for functions and other things defined inside.
Usually grouped by same meaning.
Once you start developing any program besides the very simple one you will absolutely start structuring your code in subroutines.
In the Object Oriented Programming, they called methods. But as soon as Elixir is a functional programming language, subroutines here are functions. Let’s take a look what functions can give us.
Let’s talk about basic types in Elixir.
If you are familiar with other programming languages you can see a lot of similarities in Elixir as well.
What is one of the most common things in the programming languages? Of course, it is the assignment statement.
Without an ability to assign values to variables and constants most of the programming languages would have hard times.
What should people, who starting to learn a new language or technology, start from? Of course from implementing a classic “Hello World” project and try it out. Let’s try to do this as well.