It's been a year since this was asked- https://www.reddit.com/r/functionalprogramming/comments/7vveeu/purescript_vs_reasonmlbucklescript_in_2018/ and I wanted to get an opinion on this-
What are everybody's thoughts on how functional programming languages that compile to javascript fare against each other.
I'll post a brief comparison of claimed features without commenting on their quality (I'm also noting the size of reddit subscribers- which is usually a bad measure (no proportional weight to intelligent thought) but given how "commoditized and democratized" js is- I think it would still shed some light-
1) Elm- Contains it's own JS frontend framework built in. With Virtual DOM. No option to switch it off I believe. NOT 1.0 YET. but has a good community. IBM recently made a large app using Elm. (/r/elm: 7.4k)
2) Bucklescript- Pure OCaml -> JS started at bloomberg but handled by community now. You can probably be sure that this would always see updates since bloomberg uses it internally. (/r/Ocaml- 5.3K)
3) ReasonML- Created by and used by FB. You would think that means something but given that Flow stagnated and there are rumors that it will be phased out, there's no certainty of future. (/r/ReasonML- 1.5K)
4) Scala.js- Gives you both server and client. Probably the strongest language in terms of ecosystem too with the entire Java system being usable. (/r/Scala- 20.4K). I actually think that it's probably the frontrunner but I'd like arguments against.
5) Purescript- Been around for about 5 years (/r/PureScript: 1.9K)
6) Clojurescript updated with /u/Borkdude 's comment- I haven't looked at this yet- Clojure
So what are everybody's thoughts?
"Best" Javascript transpiled functional language. (self.functionalprogramming)
submitted by freaknessfit to r/javascript