Re:A nice app on Elm street
by purple_ducks on Monday September 16, 2019 @07:31AM
(#20983014)
> the compiler is not as good nor as clear as Elm's though
in the article, you mentioned:
> the compiler is one of the best compilers I’ve ever seen and will not compile if it detects that your code is not sound.
It seems like your're judging the entirety of the compiler just on it's user displayed error messages?
Re:A nice app on Elm street
by Anahkiasen on Monday September 16, 2019 @08:14AM
(#20983266)
Indeed sorry that's badly worded, both compilers are very good, I meant more the UX around compilation in general as I'm not apt to judge the compilers themselves.
I can already tell you that ReasonML definitely has my preference these days over Elm, for the simple fact that I can keep using React with it. I love React, it's one of my favorite frameworks. If you're already familiar with it you're 50% of the way there to learn ReasonReact, whereas with Elm it really lives in its own little universe that you need to get familiar with from scratch.
I find ReasonReact's underbelly a bit messier, and the compiler is not as good nor as clear as Elm's though. And the whole OCaml layer brings some chaos too, like the multiple standard libraries available in ReasonML (OCaml's, ReasonML's, etc) which can all be very confusing when you begin.
So, I wouldn't really know what to tell you, it depends wildly of your experience, what you like, what you're looking for in the language and so on. I'd definitely recommend to give both a shot and see what you like as they're both great languages to me, even if ReasonML has my preference.