Hello World in Elixir
Every programming journey starts with Hello World. Let’s write our first Elixir program.
The Code
Create a file named hello.exs:
| |
That’s it! One …
Every programming journey starts with Hello World. Let’s write our first Elixir program.
Create a file named hello.exs:
| |
That’s it! One …
Elixir is a dynamically typed, functional language where all data is immutable. Rather than assigning values to variables in the traditional sense, Elixir uses pattern matching with the = operator to …
Operators in Elixir are not just syntactic sugar for arithmetic — they are the everyday vocabulary you use to compose functional pipelines, match values, and transform immutable data. As a functional …
Read more →Control flow is how a program decides what to do next. Most languages reach for if, for, and while to make those decisions. Elixir has if, but as a multi-paradigm functional language it leans on tools …
In Elixir, functions are the fundamental unit of code. As a functional language, Elixir treats functions as first-class values: you can bind them to variables, pass them as arguments, return them from …
Read more →Input and output are where a program meets the outside world—the terminal, files on disk, and other processes. Elixir treats I/O the way it treats everything else: as functions that transform data. …
Read more →Showing 1–6 of 6 posts (page 1 of 1)