3 ms·
I disagree. I've used Clojure, Scala and Haskell in numerous projects and I'd personally choose Scala over Clojure every single time. Language arguments like th
by asdf1234 13y ago
I disagree. I've used Clojure, Scala and Haskell in numerous projects and I'd personally choose Scala over Clojure every single time. Language arguments like this are pointless.
- coolsunglasses 13y agoWell, that might be because you prefer typed languages, which then leads to Haskell in that case. You can't cherry pick one of the two options I mentioned and then act as if that invalidates the whole thing. I also said not that Clojure and Haskell were vastly superior in every way, but that they individually represented their language niches better.
- seanmcdirmid 13y agoHaskell's options for nominal subtyping are incredibly limited; Scala goes much farther (lets not get into O'Haskell). Much of Scala's power is missing from Haskell, or at least, is quite differently directed. As for dynamic typing, Scala is definitely not trying to compete with a dynamic language.
- coolsunglasses 13y agoRight, and how well do subtyping and implicits get along? This is the problem, everything and the kitchen sink is tossed into Scala without any consideration for how well things work together because they've let it be a PLT grad students playground. http://www.reddit.com/r/haskell/comments/1pjjy5/odersky_the_trouble_with_types_strange_loop_2013/cd3bgcu http://www.reddit.com/r/haskell/comments/1pjjy5/odersky_the_... http://www.youtube.com/watch?v=TS1lpKBMkgg http://www.youtube.com/watch?v=TS1lpKBMkgg The Scala community didn't lose one its best core developers for nothing. I mention Clojure and Haskell in the same breath because FP and immutability are what I care about and Scala fails to be a nice functional language.
- seanmcdirmid 13y agoNo idea who your demigod is, but Martin is probably the best programmer I've worked with. How subtyping is combined with type inference in Scala is quite workable, not perfect, but not a train wreck either. Scala isn't really the best functional language, but it might be the best OO language out there, especially with traits, no other statically typed language has done mixins as well.
- coolsunglasses 13y agoThen please stop selling Scala as being about type-safety or FP, because it makes them look bad. Edit: Also the demigod is paulp who worked on the Scala compiler team for five years. Hard to miss if you watch Scala dev at all.
- asdf1234 13y agoThat demigod also has a very long list of complaints about Haskell and Clojure. He doesn't think either of them are worth using either.
- seanmcdirmid 13y agoMany PL enthusiasts aren't satisfied with any language (me included); there is plenty of critique to go around. And why should we be satisfied?
- frowaway001 13y agoSean did a PhD at the EPFL while working on Scala. I think he is allowed to have an opinion on that.
- seanmcdirmid 13y agoI did a post doc, worked on the IDE for a couple of years, and haven't been following Scala that closely for 5 years or so.
- asdf1234 13y ago> You can't cherry pick one of the two options I mentioned and then act as if that invalidates the whole thing. I'd also use Scala over Haskell in a lot of cases and I don't think Clojure necessarily represents FP better. Either way these arguments are still pointless.