2 ms·
My opinion is exactly the opposite. The best thing about Scala is that it brings some niceties from FP-land while not looking entirely alien to Java developers,
by the_af 11y ago
My opinion is exactly the opposite. The best thing about Scala is that it brings some niceties from FP-land while not looking entirely alien to Java developers, and you get to keep the JVM/Java ecosystem.
Were it not for the Java-land compatibility & ecosystem requirement (and all the baggage associated with it, such as not alienating Java OOP programmers), I wouldn't use Scala. I'd probably ditch the OOP part of the FP+OOP hybrid that causes problems in Scala, and use something like Haskell instead.
I honestly have no interest in a native/JVM-less Scala. There are better languages for that out there.
- lmm 11y agoWhat's the GUI story like for those other languages? I don't think I've ever seen a GUI program in Haskell. I've seen a few OCaml programs that use GTK and they don't look great (admittedly better than Swing, but worse than JavaFX IMO).
- the_af 11y agoTo be honest, I don't know. I've done very little frontend programming in the last decade. I've no idea about Scala for the GUI either. I'd be willing to learn how to write GUIs in any language. PS: I see that Leksah (http://leksah.org/ http://leksah.org/), a Haskell IDE, is written in Haskell using GTK. The screenshots look decent enough. Not sure if it's unpleasant to write a GUI app like that in Haskell.
- lmm 11y agoScalaFX is poorly documented but it's a joy to use, at least for simple stuff - I haven't made an IDE in it or anything.