News for hackers. Stuff that matters.
Re:Elm at Rakuten by cardanome on Wednesday August 18, 2021 @12:59PM (#28224028)
TypeScript has a slow compiler and horrendous error messages (especially compared to the Elm). Plus it is far away from the no runtime exception guarantees that Elm offers by design.

Also TS is just part of a potential solution while Elm comes with all batteries included. You still have to set up your code formater, liner, decide on a framework, state management library and so on and so on. With Elm, you just use elm-format. No arguing about code style, not arguing about how structure your code. There is only way to do it. It is not only a language but a framework. You get everything you need out need out of the box.

Re:Elm at Rakuten by toastal on Wednesday August 18, 2021 @01:19PM (#28224353)
Elm also has a sound type system and no side effects because it doesn't need to be compatible with vanilla JavaScript
Re:Elm at Rakuten by leshow on Thursday August 19, 2021 @10:25AM (#28234200)
If you use something like nextjs and strict compiler options for TS a lot of these concerns go away.

> You get everything you need out need out of the box.

This is specious. There's lots of comments about how you don't get everything out of the box and for the parts that are missing it's a pain. Perhaps your particular use cases are covered, that's great.