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".
7
u/kankyo Dec 08 '19
Having a hard decode error IS breaking. It won't crash but it will absolutely not work.