Re:Elixir 1.3.1 released
by hosh on Monday July 11, 2016 @05:03PM
(#12074598)
I think you are misunderstanding something. "Let it crash" doesn't mean crash on everything. It's about handling the _unexpected_.
Someone posting bad data may or may not be expected. The primitives are such that you can _choose_ how much or how little supervision you want, for a given complexity or maturity of a project, or what you learned as users put the system through the wringer. This is a _choice_ you make as an engineer, and OTP makes it easier for you to make such a tradeoff. Other systems and framework do not necessarily let you make such a tradeoff as gracefully.
This not only allows the software to scale gracefully with the number of users, this allows the software to evolve gracefully in complexity and maturity.
Someone posting bad data may or may not be expected. The primitives are such that you can _choose_ how much or how little supervision you want, for a given complexity or maturity of a project, or what you learned as users put the system through the wringer. This is a _choice_ you make as an engineer, and OTP makes it easier for you to make such a tradeoff. Other systems and framework do not necessarily let you make such a tradeoff as gracefully.
This not only allows the software to scale gracefully with the number of users, this allows the software to evolve gracefully in complexity and maturity.