Re:A list of companies using Elm in production
by idoubtit on Wednesday February 05, 2020 @08:17AM
(#22246439)
It was also rejected at my workplace, with the extra reasons:
4. The language is still unstable. Porting our code to the next release could be a huge task.
5. Elm + JavaScript is generally painful.
6. Few libraries, some of them unmaintained. Combined with the near-impossibility to use JS libraries from Elm, it would increase our work too much.
Re:A list of companies using Elm in production
by vmchale on Wednesday February 05, 2020 @09:53AM
(#22247106)
I did a side project in it; then the dependencies broke because of a compiler update (frustrating), and that's never been updated.
I would never use such a thing in production.
Re:A list of companies using Elm in production
by Karupan on Wednesday February 05, 2020 @05:22PM
(#22251557)
> Elm + JavaScript is generally painful
Getting rid of kernel modules for everything others than core packages in 0.19 made JS <-> Elm interop even more painful and broke some apps. I forked the compiler [1] to support that, although it is not upto date (still stuck at 0.19.0)
Re:A list of companies using Elm in production
by razze on Thursday February 06, 2020 @05:40AM
(#22255001)
6. Name one language, that has no unmaintained libraries, please :)
Re:A list of companies using Elm in production
by vmchale on Wednesday February 05, 2020 @09:54AM
(#22247117)
> 2. Fixing some important compiler/library bugs takes years
>
> 3. No way to host private package repositories
That's kind of related to the dictatorial community management. Relatedly, you still can't write a generic sort function.
Re:A list of companies using Elm in production
by herteby on Wednesday February 05, 2020 @01:28PM
(#22249651)
You can either write a comparison function that returns an Order, or a function that converts your type to a comparable. Then you use List.sortBy or List.sortWith.
I don't really know how a generic sort function would work without typeclasses/interfaces.
Re:A list of companies using Elm in production
by matsemann on Wednesday February 05, 2020 @08:28AM
(#22246513)
For 3., we use elm-git-install https://github.com/Skinney/elm-git-install
1. Development of compiler and core libraries strictly BDFL driven (at least used to be)
2. Fixing some important compiler/library bugs takes years
3. No way to host private package repositories
I still use Elm personally, although these are very valid concerns.