5 ms·
Im actually quite interested in why teams choose to use Scala if youre not fitting it into an existing JVM shop.
by thinkingkong 9y ago
Im actually quite interested in why teams choose to use Scala if youre not fitting it into an existing JVM shop.
- whateveracct 9y agoThe only competing production-capable languages are Haskell, OCaml, and maybe F#
- pjmlp 9y agoAnd Swift if targeting Apple devices is enough.
- lmm 9y agoI'd include Rust on your list (if we're defining production-capable at a level where Scala Native qualifies), and maybe even Idris. I do think Scala still has advantages: higher-kinded type support which OCaml and F# don't have, strict evaluation unlike Haskell, and better IDE/tool support than any except F#.
- phazer 9y agoI wouldn't say Idris is "production ready" in terms of libraries and tooling. Unless dependent types is a must, I would choose Purescript instead if I wanted something Haskell'ish but strict and with nice JavaScript support.
- lmm 9y agoIs PureScript really any more production-ready than Idris? That wasn't the impression I got.
- phazer 9y agoIt seems a bit more mature, at least in terms of package management and available libraries (https://pursuit.purescript.org https://pursuit.purescript.org). I'm not very impressed with the editor/IDE support though.
- kod 9y agoEven if you aren't fitting it in to an existing JVM shop, the available libraries on the JVM beat anything else for variety and quality. There are specific niches (e.g. visualization of data) that you can find better options, but if you don't know exactly what your project is going to entail in advance, JVM is the safest choice.