Re:IBM releases Elm-powered app
by chickenfries on Thursday January 10, 2019 @12:46PM
(#18876022)
No the core question is “does the time and effort spent on those cases justify the cost of switching to elm?” I have to weigh the benefit of no runtime exceptions against things like having to write interop code for libraries that I may have to integrate with.
It might make sense for other people. It doesn’t add up for me.
Re:IBM releases Elm-powered app
by StreamBright on Thursday January 10, 2019 @12:00PM
(#18875461)
Re:IBM releases Elm-powered app
by yakshaving_jgt on Thursday January 10, 2019 @12:44PM
(#18876002)
You’ve already posted this.
It’s intellectually dishonest to point to implementation bugs as fundamental flaws.
Re:IBM releases Elm-powered app
by chickenfries on Thursday January 10, 2019 @12:48PM
(#18876052)
This matters in the real world question of “should I use elm” even if it doesn’t matter to the theoretical question of “is the elm language sound?”. Especially since there is only one implementation of elm that updates very infrequently.
Re:IBM releases Elm-powered app
by yakshaving_jgt on Thursday January 10, 2019 @12:55PM
(#18876133)
Only insofar as you would check any technology for how well it’s made generally.
After a couple of years running in production, my opinion is that it is well-made generally.
Finding clever ways to break a technology isn’t a fair reflection of “real world” use, in my opinion.
Re:IBM releases Elm-powered app
by chickenfries on Thursday January 10, 2019 @05:14PM
(#18878814)
Fair enough. I don’t considering your complaints about Math.random() or division by zero to be a fair reflection of “real world use.”
Re:IBM releases Elm-powered app
by StreamBright on Thursday January 10, 2019 @02:52PM
(#18877408)
What are you talking about? You said no runtime errors because you have pure functions and now it turns out that actually implementation also matters?????
Imagine my shock................
List.tail []
Re:IBM releases Elm-powered app
by yakshaving_jgt on Thursday January 10, 2019 @11:59AM
(#18875455)
tail : List a -> Maybe (List a)
Nice try though.Haha, sorry. You know what I mean, a partial function.
Re:IBM releases Elm-powered app
by yakshaving_jgt on Thursday January 10, 2019 @04:23PM
(#18878353)
Except in Elm, the function isn't partial.
You're thinking of the partial functions from Haskell's Prelude.
You can't get those in Elm.