Earlier quoted context omitted.
Daniel's answer is not specific to Scala's collections library but instead any generic type unless it's set to be invariant. That ultimately leads to a tradeoff between soundness and convenience (as mentioned in comment toward Scalaz's Monad impl). Ultimately, both of his points come from the idea that you genuinely want a mechanism for deferring information to runtime and case classes almost give that to you if it w…
Thanks, Scala collections in particular are unfortunately capable of wreaking havoc (Paul Phillips' infamous List(1,2,3).contains("your mom")) in surprising ways. I'm not saying that Scala's approach to G(ADT)s is flawless (by any means), but it is powerful, and to cast a strength as a weakness is a bit disengenious, particularly when the SO user is in fact saying, what's the deal, Scala is superior to Haskell in thi…
Swift is a lot like Scala
51–54 of 54 posts
Re: Swift is a lot like Scala
#52Earlier quoted context omitted.
Scala can't be easily beaten there? Man...have you used C#? I mean, I use Scala every day, but C# gives you so much solely on reification and Scala manifests are a real poor patch.
Holy shit you have got to be joking. Really trolling now, are we? Take a look at things like Shapeless ( https://github.com/milessabin/shapeless ).
Re: Swift is a lot like Scala
#53Earlier quoted context omitted.
Holy shit you have got to be joking. Really trolling now, are we? Take a look at things like Shapeless ( https://github.com/milessabin/shapeless ).
I've used Shapeless. It doesn't affect my actually writing code on a daily basis. Reified generics do.
Re: Swift is a lot like Scala
#54Earlier quoted context omitted.
The Scala experiment, as you say, seems to be kicking some serious tail, no need to speak of it in the past tense ;-) Big companies are adopting Scala (Twitter, LinkedIn, eBay, Yahoo, Sony, and so on), not surprising given Spark, Spire, Akka, Play, etc. The Scala language itself is certainly not without problems; at this point the ecosystem behind it is arguably its greatest strength. Rest assured, if there is a lang…
> Rest assured, if there is a language that will supplant Java on the JVM (highly unlikely in the near-term), it will be Scala Not sure why you're so confident since Scala has gained about 2% mind share in ten years of existence and it's still all but impossible to find Scala jobs, but hey, if you like it, good for you.