concept default in category elixir

appears as: defaults, default, default
Elixir in Action

This is an excerpt from Manning's book Elixir in Action.

You can set the defaults for any combination of arguments:

It’s somewhat surprising that the core tool for error handling is concurrency. In the BEAM world, two concurrent processes are completely separated; they share no memory, and a crash in one process can’t by default compromise the execution flow of another. Process isolation allows you to confine the negative effects of an error to a single process or a small group of related processes, which keeps most of the system functioning normally.

defmodule Todo.Cache do
 use GenServer    #1  

 def start_link(_) do    #2  
    ...
  end

  ...
end

#1   Generates the default child_spec/1
#2   Conforms to the default child_spec/1