Crashing is ok if the situation can't be handled and as long as the crash can be logged. That's one thing.
But it's a good thing that Elm is strict about this. I was one of the strongest advocates for starting to use Elm in prod at work. But saying that it's not a fatal error just because it has been forced to be dealt with is still bs. We should not over sell stuff.
A fatal error is when your hard drive suddenly catches on fire during file read. An input parsing error is a part of your program and you should be able to handle it, not view it as an "exception".
6
u/kankyo Dec 08 '19
When it's outside your control? All the time. Otherwise probably not a lot.
Still that is not relevant here. My point was that just saying "It's not a crash so it still works" is bs.