Fair enough I should probably clarify. Frankly, I’m not even sure if any runtime exception made it to production, maybe not. Few made it to staging. One thing that did make it to production was a bug in vdom in IE but that just made some things not working without exception. I never tried to say that in practice you have tons of production exceptions but maybe I wasn’t clear enough.
The problem with runtime exceptions in elm is that when you encountered them for the first time you have no idea what is wrong and how to fix it.
I’ve meant during development. Maybe I should have been more explicit about that.
This is what sub-headline on the web says though:
Generate JavaScript with great performance and no runtime exceptions.
I’m not saying I have a big issue with this statement. It’s definitely fine for communication to some audiences. That’s why @MarkHamburg said to attach a little bit of realism. Nobody used world like lie.
Yes, there is a big difference between Elm and Haskell safety. Haskell has partial functions in std library and those functions are partial by design (like head). In elm, exceptions are mostly due to bugs in implementation not by design (with exception of regex which is an understandable mistake).
I wanted to support Mark because I agree with what he said even though I didn’t find it necessary to bring it to table myself. It is a reaction on things that were said within this thread (therefore there are quotes) not primarily on what elm web says. The web was used just to give some context to claims mentioned in here.
We still haven’t, even once, after 240,000 lines of code running in production for coming up on 3 years.
is incredible and I hope you will keep on being that successful 