Elixir Flashcards

1
Q

Mix

A

Elixir build tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Hex

A

Elixir package manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

BEAM

A

VM for running Elixir and Erlang

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Phoenix

A

Web framework built in Elixir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Supervisor

A

A process that supervises other processes and restarts them whenever they crash.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Atom

A

A constant whose value is its own name. Some other languages call these symbols. Atoms are written with a colon in front of the name such as :atom.

Atoms are equal if their names are equal.

True and false are atoms in Elixir. True, false and nil are atoms that don’t require colon in the name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

.exs

A

Elixir script file extension.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ExUnit

A

Elixir’s built in testing framework. ExUnit tests are written in .exs files.

Tests are commonly ran with the command mix test.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

iex

A

Elixir interactive REPL.

When running with iex -S mix you can load an elixir file with the following
import ModuleName
and reload with
r ModuleName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

’’ vs “”

A

Single quotes in Elixir contain charlists. Double quotes contain normal strings. A charlist is an array of the character codes. A character code can be transferred to a character by using a question mark such as ?variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly