Skip to content

Commit e268622

Browse files
byteallenjosevalim
authored andcommitted
Fix typo (elixir-lang#1288)
1 parent 49c6d2f commit e268622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/mix-otp/supervisor-and-application.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you have prior programming experience, you may be wondering: "could we just g
1919

2020
Therefore, an Elixir developer prefers to "let it crash" or "fail fast". And one of the most common ways we can recover from a failure is by restarting whatever part of the system that crashed.
2121

22-
For example, when your computer, router, printer, or whatever device is not working properly. How do you often fix it? By restarting it. Once we restart the device, we reset the device back to its initial state, which is well-tested aand guaranteed to work. In Elixir, we apply this same approach to software: whenever a process crashes, we start a new process to perform the same job as the crashed process.
22+
For example, when your computer, router, printer, or whatever device is not working properly. How do you often fix it? By restarting it. Once we restart the device, we reset the device back to its initial state, which is well-tested and guaranteed to work. In Elixir, we apply this same approach to software: whenever a process crashes, we start a new process to perform the same job as the crashed process.
2323

2424
In Elixir, this is done by a Supervisor. A Supervisor is a process that supervises other processes and restarts them whenever they crash. To do so, Supervisors manage the whole life-cycle of any supervised processes, including startup and shutdown.
2525

0 commit comments

Comments
 (0)