Skip to content

Commit eedbef3

Browse files
brettcannonmichalmuskala
authored andcommitted
Reworded processes page (elixir-lang#1197)
"in a case" -> "in case"
1 parent 32f6e89 commit eedbef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/processes.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Because processes are linked, we now see a message saying the parent process, wh
135135

136136
Linking can also be done manually by calling `Process.link/1`. We recommend that you take a look at [the `Process` module](https://hexdocs.pm/elixir/Process.html) for other functionality provided by processes.
137137

138-
Processes and links play an important role when building fault-tolerant systems. Elixir processes are isolated and don't share anything by default. Therefore, a failure in a process will never crash or corrupt the state of another process. Links, however, allow processes to establish a relationship in a case of failures. We often link our processes to supervisors which will detect when a process dies and start a new process in its place.
138+
Processes and links play an important role when building fault-tolerant systems. Elixir processes are isolated and don't share anything by default. Therefore, a failure in a process will never crash or corrupt the state of another process. Links, however, allow processes to establish a relationship in case of failure. We often link our processes to supervisors which will detect when a process dies and start a new process in its place.
139139

140140
While other languages would require us to catch/handle exceptions, in Elixir we are actually fine with letting processes fail because we expect supervisors to properly restart our systems. "Failing fast" is a common philosophy when writing Elixir software!
141141

0 commit comments

Comments
 (0)