Hacker News new | ask | show | jobs
by true_religion 2543 days ago
In the Erlang VM, process execution can stop at an arbitrary point and resume later on. This time slicing is done to ensure that no process, takes up too much time. So you must treat your code as asynchronous since if you get a value from another module, then get it again in the next line it might have changed because your process was suspended in between those two lines.
1 comments

While that is true it does not make a difference for day to day programming, unless you are super accustomed to think about locks.

You can get very far in Elixir without considering the nitty gritty parts of OTP.

It's interesting that people would like Elixir without understanding OTP.
Some of us like to have productive junior devs that can ease into an understanding of otp.