News for hackers. Stuff that matters.
Re:Idiomatic Monads in Rust by hombre_fatal on Thursday April 04, 2019 @01:49PM (#19575100)
imo the early explosion of language complexity is what doomed Scala. There were a lot of failed and semi-failed experiments in the language. They even tried and gave up on structural typing and regressed to some half-assed attempt. Jumped on bandwagons they regretted like xml literals. There was also that research-based scala v2 rewrite. http://dotty.epfl.ch/ -- These kinds of endeavors suck a lot of thought power from the community.

There was functional extremism in Tony Morris and his scalaz pet project, but Scala was already doomed.

Of course, these are all things Rust has seemed to avoid and hopefully continues to avoid.

Re:Idiomatic Monads in Rust by Cyph0n on Thursday April 04, 2019 @02:17PM (#19575432)
> There was also that research-based scala v2 rewrite. http://dotty.epfl.ch/

Was? Last I heard, Dotty is ongoing and will transition into Scala 3.

I like to think of Scala as the C++ of the JVM world. It's a complex language with a lot of features, but it can be extremely powerful if you know what idioms to use and where to use them. For example, template abuse in C++ is akin to implicit abuse in Scala.

Re:Idiomatic Monads in Rust by joshlemer on Thursday April 04, 2019 @02:46PM (#19575753)
This is right. Dotty is in very active development, and is planned to become Scala 3 some time in 2020.
Re:Idiomatic Monads in Rust by ldng on Thursday April 04, 2019 @05:09PM (#19577148)
Well, sadly, too powerful often leads to abuses and unmaintainable code.

Maybe this is something that helped grow Go's popularity by being simpler ? (I don't know, just wondering)

Re:Idiomatic Monads in Rust by ldng on Thursday April 04, 2019 @04:50PM (#19576963)
Ok, I've been oversimplifying by reducing it to the functional aspect of it (granted that might come from Scalaz recollection) but I stand by my opinion that too much functionalism will hurt.

But, on the other hand, a balance has to be found if Rust ever want to be widely adopted. Let's be honest 2s here, Rust is already hard enough to learn for the average developer, adding higher order function on top of that will not help adoption.

IMHO, right now Rust the just enough amount of complexity to still be interesting to the majority. It really depends on who Rust want to target in the long run.