The problem with runtime exceptions in elm (due to bugs, almost nothing is necessary by design (maybe beside == on functions (or things containing functions) and Regex.regex) is that when you encountered them for the first time you have no idea what is wrong and how to fix it. In case of some, you might even have no idea that the issue is there because it happens only with some type of input or in some browser. Frankly, I had much more production issues because of the elm unsafety than because of the Haskel’s but also frontend our team is working on is much much more complicated than backend so it’s definitely not representative. Anyway, I believe the thing Marks is trying to say is that It’s always better to express your love for one piece of tech without picking on another especially when your arguments are kind of false:
Thank you for your reply. I want to have “no runtime exception” like Elm in Haskell. Reading some introductions showed that you can have runtime error in Haskell.
^ I would love to have no runtime exceptions in Elm as well. But they are there. Do I blame anyone - no. It’s not that easy to make perfect software (we should all lear Coq maybe
).
Reading some introductions
People are different and has different values. This is an important part to me. My conclusion would be haskell shows there are unsafe finctions in introduction. On the other hand as Mark said well imho:
to attach a little bit of realism to the “no runtime errors” advertising claims.
I would sort of accept that software is rarely perfect but given how long these linger in the main release one has to consider whether preventing runtime exceptions is a high priority.
I’m not trying to pick on a technology you or anyone else but frankly one of the things I value highly is honesty and somehow I kind of dislike whole “you’re not allowed to talk about issues” mindset. If you like elm you will probably like it even after first weird runtime exception. But you were promised not to have them. And they will stay with you for a long time.
I really hope it doesn’t sound offensive to anyone. I’m only trying to express my view which might be slightly different from views of other - hopefully, someone finds it at least acceptable opinion). Sorry for OT.